aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageView.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-04-22 14:04:35 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-04-22 14:04:35 +0000
commit6276ce014283c3f7d291342d59cb3428c0c31600 (patch)
tree15371d1c24dc5112840352c1f6575e13e37752e1 /llvm/tools/llvm-cov/SourceCoverageView.cpp
parent9bc6c77220fbdd59d3246a0930425f672d5e85a7 (diff)
downloadllvm-6276ce014283c3f7d291342d59cb3428c0c31600.zip
llvm-6276ce014283c3f7d291342d59cb3428c0c31600.tar.gz
llvm-6276ce014283c3f7d291342d59cb3428c0c31600.tar.bz2
[TargetLowering][AMDGPU][X86] Improve SimplifyDemandedBits bitcast handling
This patch adds support for BigBitWidth -> SmallBitWidth bitcasts, splitting the DemandedBits/Elts accordingly. The AMDGPU backend needed an extra (srl (and x, c1 << c2), c2) -> (and (srl(x, c2), c1) combine to encourage BFE creation, I investigated putting this in DAGCombine but it caused a lot of noise on other targets - some improvements, some regressions. The X86 changes are all definite wins. Differential Revision: https://reviews.llvm.org/D60462 llvm-svn: 358887
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions