[SystemZ] Improve risbg-01.ll test
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Mon, 13 Jan 2014 15:40:25 +0000 (15:40 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Mon, 13 Jan 2014 15:40:25 +0000 (15:40 +0000)
commitbe110d99db9323ef2f484deca230c14d8ee0e267
tree2cf3497e27c8d6b2415e4fc36367180efcb7b6cc
parent80a3301b377a6bdccded883e67ddbfc65cf82d23
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199115 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/SystemZ/risbg-01.ll