summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-12-22 01:10:31 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-12-22 01:10:31 +0000
commit5c2441901f760d35d86f793c1c2014ca52660332 (patch)
tree766e01fc487a43addb60e1b8a31635ef30cf4b88 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parenta22e923106a8faabff9cfe5ab6d73f5eddfcfa71 (diff)
downloadbcm5719-llvm-5c2441901f760d35d86f793c1c2014ca52660332.tar.gz
bcm5719-llvm-5c2441901f760d35d86f793c1c2014ca52660332.zip
Fix isl out-of-quota errors affecting later quota guards.
If an out-of-quota error occurred, the last error would be isl_error_quota unless a different error occured. We typically check whether the max-operations occured by comparing to that error value after leaving the quota guard. This would check whether there ever was a quota-error, not just in the last quota guards. The observable bug occurred if the max-operations limit was reached in DeLICM, and if -polly-dependences-computout=0, DependenceInfo would think that the quota for computing dependencies was the reason, i.e., fail the operation even if the calculation itself was successful. Fix by reseting the last error to isl_error_none when entering a quota guard, signaling that no quota error occured unless in the guard's scope. llvm-svn: 321329
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud