commit | 48e8b3cc5841f0652430aa9f0ce3eb9fa09bdcda | [log] [tgz] |
---|---|---|
author | Anton Korobeynikov <asl@math.spbu.ru> | Thu Jul 16 14:15:24 2009 +0000 |
committer | Anton Korobeynikov <asl@math.spbu.ru> | Thu Jul 16 14:15:24 2009 +0000 |
tree | 579a056782b0b042e66b2825650ca3df0081abb3 | |
parent | e3a7f7a2b20ad791626f58e16d76a514ea66b62b [diff] [blame] |
Implement shifts properly (hopefilly - finally!) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76005 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SystemZ/SystemZISelLowering.cpp b/lib/Target/SystemZ/SystemZISelLowering.cpp index 952f4ed..6dea471 100644 --- a/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -52,7 +52,7 @@ // Set shifts properties setShiftAmountFlavor(Extend); - setShiftAmountType(MVT::i32); + setShiftAmountType(MVT::i64); // Provide all sorts of operation actions setLoadExtAction(ISD::SEXTLOAD, MVT::i1, Promote);