diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-09-28 09:14:39 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-09-28 09:14:39 +0000 |
commit | 83e0d481ae93e13b71fb6592618efa57b6a3f93d (patch) | |
tree | 3bf790679188e5bc1ed3159e511bbe84f71e6c7d /llvm/lib/Target/ARM/ARMInstrInfo.cpp | |
parent | 86d4c28932dd4c748ae3cf34ebe10d63f936ab74 (diff) | |
download | bcm5719-llvm-83e0d481ae93e13b71fb6592618efa57b6a3f93d.tar.gz bcm5719-llvm-83e0d481ae93e13b71fb6592618efa57b6a3f93d.zip |
Make ARM and Thumb2 32-bit immediate materialization into a single 32-bit pseudo
instruction. This makes it re-materializable.
Thumb2 will split it back out into two instructions so IT pass will generate the
right mask. Also, this expose opportunies to optimize the movw to a 16-bit move.
llvm-svn: 82982
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.cpp b/llvm/lib/Target/ARM/ARMInstrInfo.cpp index 2ab355b190d..4c92891c82b 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.cpp +++ b/llvm/lib/Target/ARM/ARMInstrInfo.cpp @@ -96,7 +96,6 @@ reMaterialize(MachineBasicBlock &MBB, MachineInstr *MI = MBB.getParent()->CloneMachineInstr(Orig); MI->getOperand(0).setReg(DestReg); - MBB.insert(I, MI); } |