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)
commitc8bed0334981e2a811484d82309849b671a9b5c8
treee663c0ed7fcf37bc75bcfc2b94f874f56af5c3d9
parent68bb69d6e37252fd7d572d81c2f38b83ad8d9851
In thumb2 mode, add pc is unpredictable. Use add + mov pc instead (that is until more optimization goes in).

llvm-svn: 77364
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMISelLowering.h
llvm/lib/Target/ARM/ARMInstrInfo.td
llvm/lib/Target/ARM/ARMInstrThumb.td
llvm/lib/Target/ARM/ARMInstrThumb2.td
llvm/test/CodeGen/Thumb2/thumb2-jtbl.ll