llvm-project/polly/include/polly
Michael Kruse 5c2441901f 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
2017-12-22 01:10:31 +00:00
..
CodeGen [Acc] Do not statically dispatch into IslNodeBuilder's createFor 2017-10-29 21:36:34 +00:00
Config [CMake] Retire Polly's FindCUDA.cmake in favour of CMake's default FindCUDA.cmake script. 2017-06-06 19:20:48 +00:00
Support Fix isl out-of-quota errors affecting later quota guards. 2017-12-22 01:10:31 +00:00
Canonicalization.h Drop '@brief' from doxygen comments 2016-09-02 06:33:33 +00:00
CodePreparation.h Add missing license text to two headers. NFC. 2017-08-10 15:40:36 +00:00
DeLICM.h [DeLICM] Export Known and Written to DeLICMTests. NFC. 2017-04-13 16:32:39 +00:00
DependenceInfo.h Check whether IslAstInfo and DependenceInfo were computed for the same Scop. 2017-09-21 00:01:13 +00:00
FlattenAlgo.h Introduce isl C++ bindings, Part 1: value_ptr style interface 2017-03-10 11:41:03 +00:00
FlattenSchedule.h Fix namespaces after clang-format update 2017-03-01 15:54:27 +00:00
ForwardOpTree.h [Polly] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-24 21:22:41 +00:00
JSONExporter.h Add missing license text to two headers. NFC. 2017-08-10 15:40:36 +00:00
LinkAllPasses.h [ScopInliner] Add a simple Scop-based inliner to polly. 2017-08-17 21:57:23 +00:00
Options.h
PolyhedralInfo.h [NFC] [PolyhedralInfo] fix typo 2017-05-23 11:41:52 +00:00
PruneUnprofitable.h [Polly] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-25 21:35:27 +00:00
RegisterPasses.h clang-tidy: Add llvm namespace comments 2016-06-23 22:17:27 +00:00
ScheduleOptimizer.h Port ScopInfo to the isl cpp bindings 2017-11-19 22:13:34 +00:00
ScopBuilder.h [ScopBuilder] Split statements on encountering store instructions. 2017-12-11 12:51:24 +00:00
ScopDetection.h [PM] Properly require and preserve OptimizationRemarkEmitter. NFCI. 2017-08-28 14:07:33 +00:00
ScopDetectionDiagnostic.h [Polly] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-25 21:35:27 +00:00
ScopInfo.h Port ScopInfo to the isl cpp bindings 2017-11-19 22:13:34 +00:00
ScopPass.h Update formatting to reflect change in clang-format. NFC. 2017-11-09 16:33:29 +00:00
Simplify.h Add more statistics. 2017-08-23 13:50:30 +00:00
ZoneAlgo.h [nfc] Iwyu: forward-declare/include raw_ostream in zone algo 2017-11-17 11:34:29 +00:00