diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-12-20 11:49:48 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-12-20 11:49:48 +0000 |
commit | 220ee49bce0dab4fb0649b7451f11eeb755fd1d9 (patch) | |
tree | 0cf0e10e75ead430610d745150a60bb702abe30b /llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp | |
parent | d07c1be1717f87d12ed7c0e7dcc6ccad31cbaf59 (diff) | |
download | bcm5719-llvm-220ee49bce0dab4fb0649b7451f11eeb755fd1d9.tar.gz bcm5719-llvm-220ee49bce0dab4fb0649b7451f11eeb755fd1d9.zip |
[SystemZ] Extend RISBG optimization
The handling of ANY_EXTEND and ZERO_EXTEND was too strict. In this context
we can treat ZERO_EXTEND in much the same way as an AND and then also handle
outermost ZERO_EXTENDs.
I couldn't find a test that benefited from the ANY_EXTEND change, but it's
more obvious to write it this way once SIGN_EXTEND and ZERO_EXTEND are
handled differently.
llvm-svn: 197802
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions