diff options
author | Nikita Popov <npopov@redhat.com> | 2022-06-16 10:22:11 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-07-01 17:04:48 +0200 |
commit | 560e694d48a6020f613281c29ffd17184f56dfb0 (patch) | |
tree | e1dfc1dadbac784cd3abdafcd7e10d186aa04dc5 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | a322c104cb5987df93be22b09e527a8a0c932af5 (diff) | |
download | llvm-560e694d48a6020f613281c29ffd17184f56dfb0.zip llvm-560e694d48a6020f613281c29ffd17184f56dfb0.tar.gz llvm-560e694d48a6020f613281c29ffd17184f56dfb0.tar.bz2 |
[AST] Don't assert instruction reads/writes memory (PR51333)
This function is well-defined for an instruction that doesn't access
memory (and thus trivially doesn't alias anything in the AST), so
drop the assert. We can end up with a readnone call here if we
originally created a MemoryDef for an indirect call, which was
later replaced with a direct readnone call.
Fixes https://github.com/llvm/llvm-project/issues/51333.
Differential Revision: https://reviews.llvm.org/D127947
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions