summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-09-18 22:05:35 +0000
committerSanjay Patel <spatel@rotateright.com>2017-09-18 22:05:35 +0000
commitf31b1a00ea4d2916dfcc0fd476bebdb0fc60ff9f (patch)
tree58b2fbe068da8af4c73d501d153c817d79ce91b0 /llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
parent1468677cbe9a39a8032a2e3e5363ffe74be96b40 (diff)
downloadbcm5719-llvm-f31b1a00ea4d2916dfcc0fd476bebdb0fc60ff9f.tar.gz
bcm5719-llvm-f31b1a00ea4d2916dfcc0fd476bebdb0fc60ff9f.zip
[DAGCombiner] fold assertzexts separated by trunc
If we have an AssertZext of a truncated value that has already been AssertZext'ed, we can assert on the wider source op to improve the zext-y knowledge: assert (trunc (assert X, i8) to iN), i1 --> trunc (assert X, i1) to iN This moves a fold from being Mips-specific to general combining, and x86 shows improvements. Differential Revision: https://reviews.llvm.org/D37017 llvm-svn: 313577
Diffstat (limited to 'llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud