From: Bill Wendling Date: Thu, 20 Oct 2011 20:37:11 +0000 (+0000) Subject: Add missing operand. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=767f8be9eed51f41c8ad03de7684761f82bf26c9;p=oota-llvm.git Add missing operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142615 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 34023af084a..7df743b750d 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -5924,7 +5924,8 @@ EmitSjLjDispatchBlock(MachineInstr *MI, MachineBasicBlock *MBB) const { unsigned VReg1 = MRI->createVirtualRegister(TRC); AddDefaultPred(BuildMI(DispatchBB, dl, TII->get(ARM::LDRcp)) .addReg(VReg1, RegState::Define) - .addConstantPoolIndex(Idx)); + .addConstantPoolIndex(Idx) + .addImm(0)); AddDefaultPred(BuildMI(DispatchBB, dl, TII->get(ARM::CMPrr)) .addReg(NewVReg1) .addReg(VReg1, RegState::Kill));