[SystemZ] Handle extensions in RxSBG optimizations
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Wed, 16 Oct 2013 13:35:13 +0000 (13:35 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Wed, 16 Oct 2013 13:35:13 +0000 (13:35 +0000)
commitd77a7669ec1a6bba7e45791b1aa1e65a603dda92
tree13629a441c0081ea606b7a9b6e22b4667329a1fb
parent648a2e6714885e9b3d2a4f380434fe44ef2c4b5b
[SystemZ] Handle extensions in RxSBG optimizations

The input to an RxSBG operation can be narrower as long as the upper bits
are don't care.  This fixes a FIXME added in r192783.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192790 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
test/CodeGen/SystemZ/shift-10.ll