diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-10-04 10:22:54 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-10-04 10:23:02 +0100 |
commit | 7a8c04ef84ecdab4390b451d4c2fe17bc45a7b63 (patch) | |
tree | 5c8479826ca97e016d493e47bf3d0ebd5cbb81fa /llvm/lib/Object/ObjectFile.cpp | |
parent | b30765caf874bbc9405a1505e0f96885133727d0 (diff) | |
download | llvm-7a8c04ef84ecdab4390b451d4c2fe17bc45a7b63.zip llvm-7a8c04ef84ecdab4390b451d4c2fe17bc45a7b63.tar.gz llvm-7a8c04ef84ecdab4390b451d4c2fe17bc45a7b63.tar.bz2 |
[DAG] Attempt shl narrowing in SimplifyDemandedBits
If a shl node leaves the upper half bits zero / undemanded, then see if we can profitably perform this with a half-width shl and a free trunc/zext.
Followup to D146121
Differential Revision: https://reviews.llvm.org/D155472
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions