https://llvm.org/bugs/show_bug.cgi?id=30370
Bug ID: 30370 Summary: Assert in LegacyPassManager when adding PostDominatorTree to analysis pass Product: new-bugs Version: trunk Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: christof.do...@arm.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 17255 --> https://llvm.org/bugs/attachment.cgi?id=17255&action=edit reproducer - created against svn revision 281213. When I add PostDominatorTree analysis pass to scalar-evolution (as a transitive requirement) the LegacyPassManager run into an assert: opt: ../lib/IR/LegacyPassManager.cpp:520: void llvm::PMTopLevelManager::setLastUser(llvm::ArrayRef<llvm::Pass*>, llvm::Pass*): Assertion `AnalysisPass && "Expected analysis pass to exist."' failed. This looks like a bad interaction between the new PassManager and the LegacyPassManager. To reproduce, use the attached patch on ScalarEvolution.cpp that only adds PostDominatorTree as a required pass and run using: true | opt -loop-idiom -loop-unroll This currently blocks my attempt to solve bug 28429. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs