[llvm-branch-commits] [llvm] cfi creates alias (PR #203171)
Mircea Trofin via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jun 11 13:09:59 PDT 2026
================
@@ -2138,6 +2138,22 @@ bool LowerTypeTestsModule::lower() {
report_fatal_error(
"unexpected call to llvm.icall.branch.funnel during import phase");
+ for (auto &A : llvm::make_early_inc_range(M.aliases())) {
----------------
mtrofin wrote:
because of `A.eraseFromParent()`, which then invalidates the iterator.
https://github.com/llvm/llvm-project/pull/203171
More information about the llvm-branch-commits
mailing list