aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitReader.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2014-01-13 15:17:53 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2014-01-13 15:17:53 +0000
commit32379b814138b3e7c66c64775912948462c305b4 (patch)
treea7b2c1e51ca9c3846e5577fc9ad6239752c945c4 /llvm/lib/Bitcode/Reader/BitReader.cpp
parentbdf51784678c9027f7e24dd66d3fcdca29dd2724 (diff)
downloadllvm-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