summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZISelLowering.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:15:24 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:15:24 +0000
commit48e8b3cc5841f0652430aa9f0ce3eb9fa09bdcda (patch)
tree579a056782b0b042e66b2825650ca3df0081abb3 /lib/Target/SystemZ/SystemZISelLowering.cpp
parente3a7f7a2b20ad791626f58e16d76a514ea66b62b (diff)
downloadllvm-48e8b3cc5841f0652430aa9f0ce3eb9fa09bdcda.tar.gz
llvm-48e8b3cc5841f0652430aa9f0ce3eb9fa09bdcda.tar.bz2
llvm-48e8b3cc5841f0652430aa9f0ce3eb9fa09bdcda.tar.xz
Implement shifts properly (hopefilly - finally!)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZISelLowering.cpp')
-rw-r--r--lib/Target/SystemZ/SystemZISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZISelLowering.cpp b/lib/Target/SystemZ/SystemZISelLowering.cpp
index 952f4edb63..6dea471dd9 100644
--- a/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -52,7 +52,7 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) :
// Set shifts properties
setShiftAmountFlavor(Extend);
- setShiftAmountType(MVT::i32);
+ setShiftAmountType(MVT::i64);
// Provide all sorts of operation actions
setLoadExtAction(ISD::SEXTLOAD, MVT::i1, Promote);