aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-05-07 16:47:27 +0000
committerFlorian Hahn <flo@fhahn.com>2019-05-07 16:47:27 +0000
commita9d6c32eafc645c55b07eb50698c428e14c0bffd (patch)
treeb6b915cf382f4fcfbc9e289688e4b419a253f1ca /llvm/unittests/Support/CommandLineTest.cpp
parent2a3d16feea3449f2c1bc1325a17a19e428185983 (diff)
downloadllvm-a9d6c32eafc645c55b07eb50698c428e14c0bffd.zip
llvm-a9d6c32eafc645c55b07eb50698c428e14c0bffd.tar.gz
llvm-a9d6c32eafc645c55b07eb50698c428e14c0bffd.tar.bz2
[DAGCombiner] Avoid creating large tokenfactors in visitTokenFactor
When simplifying TokenFactors, we potentially iterate over all operands of a large number of TokenFactors. This causes quadratic compile times in some cases and the large token factors cause additional scalability problems elsewhere. This patch adds some limits to the number of nodes explored for the cases mentioned above. Reviewers: niravd, spatel, craig.topper Reviewed By: niravd Differential Revision: https://reviews.llvm.org/D61397 llvm-svn: 360171
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions