When performing instruction selection for LDR_PRE_IMM/LDRB_PRE_IMM, we still need...
authorOwen Anderson <resistor@mac.com>
Wed, 31 Aug 2011 20:00:11 +0000 (20:00 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 31 Aug 2011 20:00:11 +0000 (20:00 +0000)
commitd84192fe4f6495e43ee0ff2ac591c14ba36e1e9d
tree551c45b14980333f05ab0388be50586e55663f36
parente0e42bf0bb1280a881450027aaae6490b4c87fd5
When performing instruction selection for LDR_PRE_IMM/LDRB_PRE_IMM, we still need to preserve the sign of the index.  This fixes miscompilations of Quicksort in the nightly testsuite, and hopefully others as well.
<rdar://problem/10046188>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138885 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp