]> granicus.if.org Git - llvm/commit
[SCEV] Decrease the recursion threshold for CompareValueComplexity
authorSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 5 Mar 2017 23:49:17 +0000 (23:49 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Sun, 5 Mar 2017 23:49:17 +0000 (23:49 +0000)
commitc380db12cda84f1eb2101032c4798fdc7a33688f
treec0c0d17069339b10ba6bc6534edf9b81097d64ec
parente0e40c6867d9fd4e7ffbae95a27e83e6ef0945da
[SCEV] Decrease the recursion threshold for CompareValueComplexity

Fixes PR32142.

r287232 accidentally increased the recursion threshold for
CompareValueComplexity from 2 to 32.  This change reverses that change
by introducing a separate flag for CompareValueComplexity's threshold.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296992 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
unittests/Analysis/ScalarEvolutionTest.cpp