diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2014-01-13 15:17:53 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2014-01-13 15:17:53 +0000 |
commit | 32379b814138b3e7c66c64775912948462c305b4 (patch) | |
tree | a7b2c1e51ca9c3846e5577fc9ad6239752c945c4 /llvm/lib/Bitcode/Reader/BitReader.cpp | |
parent | bdf51784678c9027f7e24dd66d3fcdca29dd2724 (diff) | |
download | llvm-32379b814138b3e7c66c64775912948462c305b4.zip llvm-32379b814138b3e7c66c64775912948462c305b4.tar.gz llvm-32379b814138b3e7c66c64775912948462c305b4.tar.bz2 |
[SystemZ] Optimize (sext (ashr (shl ...), ...))
...into (ashr (shl (anyext X), ...), ...), which requires one fewer
instruction. The (anyext X) can sometimes be simplified too.
I didn't do this in DAGCombiner because widening shifts isn't a win
on all targets.
llvm-svn: 199114
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions