[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)
commit3875cb60f32067943dfb82a71b5212dab3969cdc
tree7fc89fea6eba3f1f30206d05b1f67e4ac94b6850
parent15cfc1c33c57aefbfaf9c01a1979f3d7d1a2c806
[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.)

llvm-svn: 198862
llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
llvm/test/CodeGen/SystemZ/rnsbg-01.ll
llvm/test/CodeGen/SystemZ/rosbg-01.ll
llvm/test/CodeGen/SystemZ/rxsbg-01.ll