[llvm] 3d76a13 - Revert "[InstCombine] Lower infinite combine loop detection thresholds"
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 19 06:53:58 PDT 2020
Author: Roman Lebedev
Date: 2020-08-19T16:53:30+03:00
New Revision: 3d76a133c7e0d4056c1a0657b0b186c381bf7b74
URL: https://github.com/llvm/llvm-project/commit/3d76a133c7e0d4056c1a0657b0b186c381bf7b74
DIFF: https://github.com/llvm/llvm-project/commit/3d76a133c7e0d4056c1a0657b0b186c381bf7b74.diff
LOG: Revert "[InstCombine] Lower infinite combine loop detection thresholds"
And as being reported by Florian Hahn, there's a hit
in MultiSource/Benchmarks/mafft from the test-suite on X86 with -O3 -flto,
so reverting until addressed.
This reverts commit 71e0b82c9f5039cb3987c91075e78733ef044c07.
Added:
Modified:
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
index 9033e084eb75..cb6e77aa029c 100644
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -127,7 +127,7 @@ DEBUG_COUNTER(VisitCounter, "instcombine-visit",
// FIXME: these limits eventually should be as low as 2.
static constexpr unsigned InstCombineDefaultMaxIterations = 1000;
#ifndef NDEBUG
-static constexpr unsigned InstCombineDefaultInfiniteLoopThreshold = 10;
+static constexpr unsigned InstCombineDefaultInfiniteLoopThreshold = 100;
#else
static constexpr unsigned InstCombineDefaultInfiniteLoopThreshold = 1000;
#endif
More information about the llvm-commits
mailing list