fix CodeGen/PowerPC/2006-12-07-LargeAlloca.ll on ppc64
authorChris Lattner <sabre@nondot.org>
Thu, 7 Dec 2006 22:15:58 +0000 (22:15 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 7 Dec 2006 22:15:58 +0000 (22:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32331 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCRegisterInfo.cpp

index 36fc87b8182d1eaa8edcefccb8decafcb6d7cfcf..6a21a50673ce7b6f9cd79f171cc4467f0374a9cc 100644 (file)
@@ -94,6 +94,7 @@ PPCRegisterInfo::PPCRegisterInfo(const PPCSubtarget &ST,
   ImmToIdxMap[PPC::STH]  = PPC::STHX;   ImmToIdxMap[PPC::STW]  = PPC::STWX;
   ImmToIdxMap[PPC::STFS] = PPC::STFSX;  ImmToIdxMap[PPC::STFD] = PPC::STFDX;
   ImmToIdxMap[PPC::ADDI] = PPC::ADD4;
+  ImmToIdxMap[PPC::ADDI8] = PPC::ADD8;
 }
 
 void