Fix bug in previous checkin.
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 25 Jun 2004 14:57:19 +0000 (14:57 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 25 Jun 2004 14:57:19 +0000 (14:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14405 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPC32ISelSimple.cpp
lib/Target/PowerPC/PowerPCISelSimple.cpp

index 96920ec28d77b10401476e211e583a69e92a0323..6f214f88cfdb94cc3639f56bc92aea9620544d3e 100644 (file)
@@ -370,7 +370,7 @@ unsigned ISel::getReg(Value *V, MachineBasicBlock *MBB,
     // Move the address of the global into the register
     BuildMI(*MBB, IPt, PPC32::LOADHiAddr, 2, Reg1).addReg(PPC32::R0)
       .addGlobalAddress(GV);
-    BuildMI(*MBB, IPt, PPC32::LOADLoAddr, 2, Reg2).addReg(Reg1)i
+    BuildMI(*MBB, IPt, PPC32::LOADLoAddr, 2, Reg2).addReg(Reg1)
       .addGlobalAddress(GV);
     return Reg2;
   } else if (CastInst *CI = dyn_cast<CastInst>(V)) {
index 96920ec28d77b10401476e211e583a69e92a0323..6f214f88cfdb94cc3639f56bc92aea9620544d3e 100644 (file)
@@ -370,7 +370,7 @@ unsigned ISel::getReg(Value *V, MachineBasicBlock *MBB,
     // Move the address of the global into the register
     BuildMI(*MBB, IPt, PPC32::LOADHiAddr, 2, Reg1).addReg(PPC32::R0)
       .addGlobalAddress(GV);
-    BuildMI(*MBB, IPt, PPC32::LOADLoAddr, 2, Reg2).addReg(Reg1)i
+    BuildMI(*MBB, IPt, PPC32::LOADLoAddr, 2, Reg2).addReg(Reg1)
       .addGlobalAddress(GV);
     return Reg2;
   } else if (CastInst *CI = dyn_cast<CastInst>(V)) {