[PATCH] D86534: [GVN] Preserve MemorySSA if it is available.
Mikael Holmén via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 4 03:44:11 PDT 2020
uabelho added a comment.
Hi!
The following crashes for me with this patch
opt -memoryssa -gvn -early-cse-memssa -S -o - foo.ll
with foo.ll being just
define void @f() {
entry:
unreachable
}
I get
opt: ../lib/IR/LegacyPassManager.cpp:657: void llvm::PMTopLevelManager::setLastUser(ArrayRef<llvm::Pass *>, llvm::Pass *): Assertion `AnalysisPass && "Expected analysis pass to exist."' failed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86534/new/
https://reviews.llvm.org/D86534
More information about the llvm-commits
mailing list