[PATCH] D71145: [InstCombine] Allow to limit the max number of iterations

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 10:34:32 PST 2019


spatel added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3685
+    : FunctionPass(ID), ExpensiveCombines(ExpensiveCombines),
+      MaxIterations(UINT_MAX) {
+  initializeInstructionCombiningPassPass(*PassRegistry::getPassRegistry());
----------------
kuhar wrote:
> Forgot to update the constant here. Will fix in the next revision.
This is marked as 'Done' but UINT_MAX should be changed to InstCombineDefaultMaxIterations?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71145/new/

https://reviews.llvm.org/D71145





More information about the llvm-commits mailing list