diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-04-22 14:04:35 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-04-22 14:04:35 +0000 |
| commit | 6276ce014283c3f7d291342d59cb3428c0c31600 (patch) | |
| tree | 15371d1c24dc5112840352c1f6575e13e37752e1 /lldb/packages/Python/lldbsuite/test/python_api/value | |
| parent | 9bc6c77220fbdd59d3246a0930425f672d5e85a7 (diff) | |
| download | bcm5719-llvm-6276ce014283c3f7d291342d59cb3428c0c31600.tar.gz bcm5719-llvm-6276ce014283c3f7d291342d59cb3428c0c31600.zip | |
[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 'lldb/packages/Python/lldbsuite/test/python_api/value')
0 files changed, 0 insertions, 0 deletions

