commit | 8b2132abbea2f562fcc51468318d55c736f9cad0 | [log] [tgz] |
---|---|---|
author | David Green <david.green@arm.com> | Tue Mar 21 10:17:39 2017 +0000 |
committer | David Green <david.green@arm.com> | Tue Mar 21 10:17:39 2017 +0000 |
tree | 089dc85b51f430c71874da08d678d7c247f39980 | |
parent | de5c0c25c0e46a2c96617777b71908488f96a17c [diff] |
[ConstantFolding] Fix to prevent constant folding having to repeatedly scan operands. NFCI After the loop unroll threshold was increased in r295538, very large constant expressions can be created. This prevents them from having to be recursively scanned, leading to a compile time blow-up. Differential Revision: https://reviews.llvm.org/D30689 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298356 91177308-0d34-0410-b5e6-96231b3b80d8