diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-06 23:41:14 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-06 23:41:14 +0000 |
commit | 217f0e9ca494a1752c591f50f04b4143eb1763c5 (patch) | |
tree | 0cf212be220d133b670a9215aa81876d8222812f /lib | |
parent | 083a8eb063657866ff595980fc03a16b791d08df (diff) |
Use the correct vreg here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 44cc1e013f..f69dab4530 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -5743,7 +5743,7 @@ EmitSjLjDispatchBlock(MachineInstr *MI, MachineBasicBlock *MBB) const { .addImm(2)); unsigned NewVReg3 = MRI->createVirtualRegister(TRC); - AddDefaultPred(BuildMI(DispContBB, dl, TII->get(ARM::tLEApcrelJT), NewVReg2) + AddDefaultPred(BuildMI(DispContBB, dl, TII->get(ARM::tLEApcrelJT), NewVReg3) .addJumpTableIndex(MJTI) .addImm(UId)); |