[all-commits] [llvm/llvm-project] 560e69: [AST] Don't assert instruction reads/writes memory...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jul 1 08:05:03 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 560e694d48a6020f613281c29ffd17184f56dfb0
https://github.com/llvm/llvm-project/commit/560e694d48a6020f613281c29ffd17184f56dfb0
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-07-01 (Fri, 01 Jul 2022)
Changed paths:
M llvm/lib/Analysis/AliasSetTracker.cpp
A llvm/test/Transforms/LICM/pr51333.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list