diff options
author | Ding Xiang Fei <dingxiangfei2009@protonmail.ch> | 2023-03-21 09:45:51 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-03-21 09:45:51 +0100 |
commit | 8325d46a4ab803c6eeff28bf1bdafb43287ce557 (patch) | |
tree | 900fb995b0d192a192a7b93a825170c4e7653fd9 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | d9b3a9442530c5db302c0af62196e6d907453a23 (diff) | |
download | llvm-8325d46a4ab803c6eeff28bf1bdafb43287ce557.zip llvm-8325d46a4ab803c6eeff28bf1bdafb43287ce557.tar.gz llvm-8325d46a4ab803c6eeff28bf1bdafb43287ce557.tar.bz2 |
[MergeFuncs] Compare load instruction metadata
MergeFuncs currently merges load instructions with differing
semantically-relevant metadata, e.g. a load that has !nonnull
with one that does not.
Update FunctionComparator to make sure that metadata of both
loads is the same. Alternatively, it would be possilbe to ignore
the metadata during comparison, and then drop it during merging.
Differential Revision: https://reviews.llvm.org/D144682
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions