Files
clang-p2996/llvm/test/CodeGen/AArch64
Simon Pilgrim 8a52671782 [SelectionDAG] Check for any recursion depth greater than or equal to limit instead of just equal the limit.
If anything called the recursive isKnownNeverNaN/computeKnownBits/ComputeNumSignBits/SimplifyDemandedBits/SimplifyMultipleUseDemandedBits with an incorrect depth then we could continue to recurse if we'd already exceeded the depth limit.

This replaces the limit check (Depth == 6) with a (Depth >= 6) to make sure that we don't circumvent it. 

This causes a couple of regressions as a mixture of calls (SimplifyMultipleUseDemandedBits + combineX86ShufflesRecursively) were calling with depths that were already over the limit. I've fixed SimplifyMultipleUseDemandedBits to not do this. combineX86ShufflesRecursively is trickier as we get a lot of regressions if we reduce its own limit from 8 to 6 (it also starts at Depth == 1 instead of Depth == 0 like the others....) - I'll see what I can do in future patches.

llvm-svn: 367171
2019-07-27 12:48:46 +00:00
..
2019-06-17 09:13:29 +00:00
2019-07-17 19:24:02 +00:00
2019-07-17 19:24:02 +00:00
2019-07-17 19:24:02 +00:00
2019-07-17 19:24:02 +00:00
2019-06-17 09:13:29 +00:00
2019-06-17 09:13:29 +00:00
2019-06-17 09:13:29 +00:00
2019-06-17 09:13:29 +00:00
2019-06-17 09:13:29 +00:00
2019-06-17 09:13:29 +00:00
2019-06-17 09:13:29 +00:00
2019-06-17 09:13:29 +00:00
2019-06-17 09:13:29 +00:00
2019-06-17 09:13:29 +00:00
2019-06-17 09:13:29 +00:00
2019-06-17 09:13:29 +00:00