commit | 217f0e9ca494a1752c591f50f04b4143eb1763c5 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Thu Oct 06 23:41:14 2011 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Thu Oct 06 23:41:14 2011 +0000 |
tree | 0cf212be220d133b670a9215aa81876d8222812f | |
parent | 083a8eb063657866ff595980fc03a16b791d08df [diff] [blame] |
Use the correct vreg here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141342 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 44cc1e0..f69dab4 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -5743,7 +5743,7 @@ .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));