commit | 43e1b32a01365ef5fe10e9c0f0496ad2d1f54fe1 | [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 | 5fbf3c3ecee65dbfc78a0cf958673d98bcd24ae1 [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);