summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCParser/AsmParser.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-01-26 19:38:34 +0000
committerTobias Grosser <tobias@grosser.es>2014-01-26 19:38:34 +0000
commitb917f47fc4672d1a0757b1c49226191e86749cac (patch)
treeb9156fbd0c66eae64dea60e1764e2f980b7f19ea /llvm/lib/MC/MCParser/AsmParser.cpp
parenta38c92406c1d60bd1af36393886c65ff253e0514 (diff)
downloadbcm5719-llvm-b917f47fc4672d1a0757b1c49226191e86749cac.tar.gz
bcm5719-llvm-b917f47fc4672d1a0757b1c49226191e86749cac.zip
Dependences: Bound the time dependence calculation is allowed to take
Count the number of computational steps that have been used to solve the dependence problem and abort in case we reach the "compute-out". This ensures we do not hang forever in cases the dependence problem is too difficult to solve. There is just a single case in the LLVM test-suite that runs into the compute-out. Even in this case, we can probably coalesce some of the parameters (i32 b, i32 b zext i64, ...) to simplify the problem enough to not hit the compute out. However, for now we set the compute out in place to address the general issue. The compute out was choosen such that it stops on a recent laptop after about 8 seconds. llvm-svn: 200156
Diffstat (limited to 'llvm/lib/MC/MCParser/AsmParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud