commit | 55a105160dc02a0d990a69820cfe63fef504195e | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanaka@mips.com> | Sat Jun 02 01:10:34 2012 +0000 |
committer | Akira Hatanaka <ahatanaka@mips.com> | Sat Jun 02 01:10:34 2012 +0000 |
tree | 72db0ebd2b56a53a0d1707a0a2c9b8b6df3bec65 | |
parent | 00edc3dea28c158c5e2b6d4fd3d2da13ee933e2a [diff] |
Fix a bug in the code which custom-lowers truncating stores in LegalizeDAG. Check that the SDValue TargetLowering::LowerOperation returns is not null before replacing the original node with the returned node. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157873 91177308-0d34-0410-b5e6-96231b3b80d8