summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrInfo.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-09-28 07:26:46 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-09-28 07:26:46 +0000
commitb0d8d781380cb2ea94692d25533f3bd04fd78dce (patch)
tree9604ac279bc7ee9366d11971f2805ff2b0e63342 /lib/Target/ARM/ARMInstrInfo.cpp
parent3ddfb21306831c96791505c2e8e727923010354f (diff)
downloadllvm-b0d8d781380cb2ea94692d25533f3bd04fd78dce.tar.gz
llvm-b0d8d781380cb2ea94692d25533f3bd04fd78dce.tar.bz2
llvm-b0d8d781380cb2ea94692d25533f3bd04fd78dce.tar.xz
Fix thinko in my recent movt commit: it's not safe to remat movt, since it has input reg argument.
Disable rematting of it for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.cpp')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.cpp b/lib/Target/ARM/ARMInstrInfo.cpp
index 15c3c393c3..2ab355b190 100644
--- a/lib/Target/ARM/ARMInstrInfo.cpp
+++ b/lib/Target/ARM/ARMInstrInfo.cpp
@@ -96,8 +96,6 @@ reMaterialize(MachineBasicBlock &MBB,
MachineInstr *MI = MBB.getParent()->CloneMachineInstr(Orig);
MI->getOperand(0).setReg(DestReg);
- if (Orig->getOpcode() == ARM::MOVTi16)
- MI->getOperand(1).setReg(DestReg);
MBB.insert(I, MI);
}