addrmode_imm12 and addrmode2_offset encode their immediate values differently. Updat...
authorOwen Anderson <resistor@mac.com>
Mon, 29 Aug 2011 20:16:50 +0000 (20:16 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 29 Aug 2011 20:16:50 +0000 (20:16 +0000)
commitc4e16de7652128545c252affa357c3a105ed59a3
tree7aaa022726094756047bb36966b608f495aa4e51
parent89879ec76b5d81b0cc82e9f402dfe7c4cc63b0d6
addrmode_imm12 and addrmode2_offset encode their immediate values differently.  Update the manual instruction selection code that was encoding them the addrmode2 way even though LDR_PRE_IMM/LDRB_PRE_IMM had switched to addrmode_imm12.  Should fix a number of nightly test failures.

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