aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ArchiveWriter.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2022-01-17 15:25:11 +0000
committerDavid Green <david.green@arm.com>2022-01-17 15:25:11 +0000
commit578008789fd061a88ce47dac6ff627001b404348 (patch)
treedc0f863f8f5f926371f4e716a6b844bd2d3feebc /llvm/lib/Object/ArchiveWriter.cpp
parent0359b85c61b54354949a68f41a6881fb15f1c22b (diff)
downloadllvm-578008789fd061a88ce47dac6ff627001b404348.zip
llvm-578008789fd061a88ce47dac6ff627001b404348.tar.gz
llvm-578008789fd061a88ce47dac6ff627001b404348.tar.bz2
[DAG] Extend SearchForAndLoads with any_extend handling
This extends the code in SearchForAndLoads to be able to look through ANY_EXTEND nodes, which can be created from mismatching IR types where the AND node we begin from only demands the low parts of the register. That turns zext and sext into any_extends as only the low bits are demanded. To be able to look through ANY_EXTEND nodes we need to handle mismatching types in a few places, potentially truncating the mask to the size of the final load. Differential Revision: https://reviews.llvm.org/D117457
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions