OSDN Git Service

Use i32 for shift amounts instead of i64. This gets bisort working.
authorChris Lattner <sabre@nondot.org>
Tue, 27 Jun 2006 17:34:57 +0000 (17:34 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 27 Jun 2006 17:34:57 +0000 (17:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28927 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelLowering.cpp

index d969c38..a417a2d 100644 (file)
@@ -250,6 +250,7 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
   }
   
   setSetCCResultType(MVT::i32);
+  setShiftAmountType(MVT::i32);
   setSetCCResultContents(ZeroOrOneSetCCResult);
   setStackPointerRegisterToSaveRestore(PPC::R1);