aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitReader.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2014-01-13 15:40:25 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2014-01-13 15:40:25 +0000
commit64c0c4c0158275b35567095fb39f872f935ccb14 (patch)
tree2110eca893a1812d99fa3fdf29b434631579cc35 /llvm/lib/Bitcode/Reader/BitReader.cpp
parent32379b814138b3e7c66c64775912948462c305b4 (diff)
downloadllvm-64c0c4c0158275b35567095fb39f872f935ccb14.zip
llvm-64c0c4c0158275b35567095fb39f872f935ccb14.tar.gz
llvm-64c0c4c0158275b35567095fb39f872f935ccb14.tar.bz2
[SystemZ] Improve risbg-01.ll test
The old mask in f24 wasn't well chosen because the lshr would always be zero. CodeGen didn't detect this but InstCombine would. The new mask ensures that both shifts are needed. f26 is specifically testing for a wrap-around mask. The AND can be applied to just the shift left, either before or after the shift. Again, CodeGen kept it in the original form but InstCombine would mask after the shift instead. The exact choice of NILF isn't important for the test so I just dropped it and kept the rotate. llvm-svn: 199115
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions