summaryrefslogtreecommitdiff
path: root/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
commit80a3301b377a6bdccded883e67ddbfc65cf82d23 (patch)
tree09ff6ddab232685369d1a0dac9fae4fec103ce26 /lib/Bitcode/Reader/BitReader.cpp
parent1023a9492f36c7cb67d9a36da270beecfb29e15b (diff)
downloadllvm-80a3301b377a6bdccded883e67ddbfc65cf82d23.tar.gz
llvm-80a3301b377a6bdccded883e67ddbfc65cf82d23.tar.bz2
llvm-80a3301b377a6bdccded883e67ddbfc65cf82d23.tar.xz
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199114 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions