Skip to content

Commit 2511cdb

Browse files
committed
[InstCombine] Adjust fixpoint error message (NFC)
Add a hint to use the no-verify-fixpoint option.
1 parent eb7d535 commit 2511cdb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5428,7 +5428,8 @@ static bool combineInstructionsOverFunction(
54285428
if (Iteration > Opts.MaxIterations) {
54295429
report_fatal_error(
54305430
"Instruction Combining did not reach a fixpoint after " +
5431-
Twine(Opts.MaxIterations) + " iterations",
5431+
Twine(Opts.MaxIterations) + " iterations. " +
5432+
"Use 'instcombine<no-verify-fixpoint>' to suppress this error.",
54325433
/*GenCrashDiag=*/false);
54335434
}
54345435
}

0 commit comments

Comments
 (0)