Expand alloca for ppc64
authorChris Lattner <sabre@nondot.org>
Wed, 18 Oct 2006 01:18:48 +0000 (01:18 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 18 Oct 2006 01:18:48 +0000 (01:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31027 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelLowering.cpp

index d2fd3cd8622e2fdaba17f9fc9c30bf971b71509f..09569a899217a7f77e86aa9417787621a41e8fd2 100644 (file)
@@ -153,7 +153,8 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
   setOperationAction(ISD::STACKSAVE         , MVT::Other, Expand); 
   setOperationAction(ISD::STACKRESTORE      , MVT::Other, Expand);
   setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32  , Expand);
-  
+  setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i64  , Expand);
+
   // We want to custom lower some of our intrinsics.
   setOperationAction(ISD::INTRINSIC_WO_CHAIN, MVT::Other, Custom);