diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-02-20 11:10:56 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-02-20 12:03:08 +0000 |
commit | 6085593c128e91fd7db998c5441ebe120c7e4f04 (patch) | |
tree | 3e6f57dab3e9ddb94d5c1dfd2e66fadb0f31bbb7 /llvm/lib/CodeGen/LiveDebugValues.cpp | |
parent | dbfc682e2ba2581e214fabb04ba1b555ff8b274a (diff) | |
download | llvm-6085593c128e91fd7db998c5441ebe120c7e4f04.zip llvm-6085593c128e91fd7db998c5441ebe120c7e4f04.tar.gz llvm-6085593c128e91fd7db998c5441ebe120c7e4f04.tar.bz2 |
[AMDGPU] simplifyI24 - replace GetDemandedBits with SimplifyMultipleUseDemandedBits
GetDemandedBits mostly just calls SimplifyMultipleUseDemandedBits now, but it does a very blunt constant simplification that SimplifyMultipleUseDemandedBits avoids.
If we need to demand bits from constants we should handle this through ShrinkDemandedConstant/targetShrinkDemandedConstant.
@arsenm confirmed that the sign extended immediates are better for code size.
Differential Revision: https://reviews.llvm.org/D74857
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions