In thumb2 mode, add pc is unpredictable. Use add + mov pc instead (that is until...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 28 Jul 2009 20:53:24 +0000 (20:53 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 28 Jul 2009 20:53:24 +0000 (20:53 +0000)
commite7c329bf4b48ba3a4539183dc2d0804db6f4042a
treec625f785e8a6170e82aeafbe374dd931ecfa7544
parent6340632d3b32bdf73c390195698ae337cb753e51
In thumb2 mode, add pc is unpredictable. Use add + mov pc instead (that is until more optimization goes in).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77364 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb.td
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/Thumb2/thumb2-jtbl.ll