aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-27 17:34:57 +0000
committerChris Lattner <sabre@nondot.org>2006-06-27 17:34:57 +0000
commit7b0c58cd257d2197bc178818bc081c72aae57e46 (patch)
treef499133beb3f55cbbff247ec01647ef403f07b58 /lib/Target/PowerPC
parent00659b17817b3b5af4d9e9b93fed2a91fe27b019 (diff)
downloadexternal_llvm-7b0c58cd257d2197bc178818bc081c72aae57e46.zip
external_llvm-7b0c58cd257d2197bc178818bc081c72aae57e46.tar.gz
external_llvm-7b0c58cd257d2197bc178818bc081c72aae57e46.tar.bz2
Use i32 for shift amounts instead of i64. This gets bisort working.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28927 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
index d969c38..a417a2d 100644
--- a/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -250,6 +250,7 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
}
setSetCCResultType(MVT::i32);
+ setShiftAmountType(MVT::i32);
setSetCCResultContents(ZeroOrOneSetCCResult);
setStackPointerRegisterToSaveRestore(PPC::R1);