[SystemZ] Fix RNSBG bug introduced by r197802
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Thu, 9 Jan 2014 11:28:53 +0000 (11:28 +0000)
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Thu, 9 Jan 2014 11:28:53 +0000 (11:28 +0000)
commitdb5c1f3d7616cb469374903acdac032469749699
tree8f2e5e703cc0db551bdbf83c0d8423f790bbd78b
parentacb31a245ceef3510f37163e31c0097b0d63cb8f
[SystemZ] Fix RNSBG bug introduced by r197802

The zext handling added in r197802 wasn't right for RNSBG.  This patch
restricts it to ROSBG, RXSBG and RISBG.  (The tests for RISBG were added
in r197802 since RISBG was the motivating example.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198862 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
test/CodeGen/SystemZ/rnsbg-01.ll
test/CodeGen/SystemZ/rosbg-01.ll
test/CodeGen/SystemZ/rxsbg-01.ll