diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-06-27 12:59:03 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-06-27 12:59:03 +0000 |
commit | 0f2158b35fef76fa39c6b472e3e2be0b583d2224 (patch) | |
tree | 8903d16679e3621f57e81a634aee23dae141aa70 /llvm/lib/Target/ARM/ARMInstrInfo.cpp | |
parent | a1b5b18bd0f49d7963bdd3a330701b9f1bfc2e71 (diff) | |
download | bcm5719-llvm-0f2158b35fef76fa39c6b472e3e2be0b583d2224.tar.gz bcm5719-llvm-0f2158b35fef76fa39c6b472e3e2be0b583d2224.zip |
Simplify a bit
llvm-svn: 74385
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.cpp b/llvm/lib/Target/ARM/ARMInstrInfo.cpp index 034b697ab58..5d77e991368 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.cpp +++ b/llvm/lib/Target/ARM/ARMInstrInfo.cpp @@ -138,9 +138,11 @@ void ARMInstrInfo::reMaterialize(MachineBasicBlock &MBB, const MachineInstr *Orig) const { DebugLoc dl = Orig->getDebugLoc(); if (Orig->getOpcode() == ARM::MOVi2pieces) { - RI.emitLoadConstPool(MBB, I, DestReg, Orig->getOperand(1).getImm(), - Orig->getOperand(2).getImm(), - Orig->getOperand(3).getReg(), this, dl); + RI.emitLoadConstPool(MBB, I, this, dl, + DestReg, + Orig->getOperand(1).getImm(), + (ARMCC::CondCodes)Orig->getOperand(2).getImm(), + Orig->getOperand(3).getReg()); return; } |