[llvm] [GlobalISel][AArch64] AArch64O0PreLegalizerCombiner: Disable fixed-point iteration (PR #94291)

Amara Emerson via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 11:51:00 PDT 2024


================
@@ -165,6 +165,8 @@ bool AArch64O0PreLegalizerCombiner::runOnMachineFunction(MachineFunction &MF) {
   CombinerInfo CInfo(/*AllowIllegalOps*/ true, /*ShouldLegalizeIllegal*/ false,
                      /*LegalizerInfo*/ nullptr, /*EnableOpt*/ false,
                      F.hasOptSize(), F.hasMinSize());
+  CInfo.MaxIterations = 1;
----------------
aemerson wrote:

Please add a comment, perhaps calling back to this PR # so readers will know why we set it to 1.

https://github.com/llvm/llvm-project/pull/94291


More information about the llvm-commits mailing list