[llvm] [VPlan] Simplify Plan's entry in removeBranchOnConst. (PR #154510)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 1 05:54:18 PDT 2025
================
@@ -20,10 +35,13 @@ for.body: ; preds = %for.body, %entry
br i1 %exitcond, label %for.cond.cleanup, label %for.body, !llvm.loop !0
}
-; CHECK-LABEL: @foo
-; CHECK: = !{!"llvm.loop.unroll.disable"}
----------------
fhahn wrote:
This has been fixed, we need to retrieve the metadata before removing the loop, to make sure we can preserve the metadata from the original in the vector loop if needed, even if the original loop gets removed.
https://github.com/llvm/llvm-project/pull/154510
More information about the llvm-commits
mailing list