diff options
author | Michael Kruse <llvm@meinersbur.de> | 2018-05-31 22:44:23 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2018-05-31 22:44:23 +0000 |
commit | d51fbfca46ca75ff70daba3661702257703a331b (patch) | |
tree | 914863be2392431b29b6f7ed3f47bd4402b082b8 /llvm/lib/CodeGen/BranchFolding.cpp | |
parent | 91ab25bbe3802c6c67060e3fc5065cb8b7147f0f (diff) | |
download | bcm5719-llvm-d51fbfca46ca75ff70daba3661702257703a331b.tar.gz bcm5719-llvm-d51fbfca46ca75ff70daba3661702257703a331b.zip |
[ZoneAlgo] Make ZoneAlgorithm::isNormalized out-of-quota safe.
The aosp-O3-polly-before-vectorizer-unprofitable buildbot currently
fails in ZoneAlgorithm::isNormalized, presumably because an
out-of-quota happens in that function.
Modify ZoneAlgorithm::isNormalized to return an isl::boolean such
it can report an error.
In the failing case, it was called in an assertion in ForwardOpTree.
Allow to pass the assertion in an out-of-quota event, a condition that
is later checked before forwarding an operand tree.
llvm-svn: 333709
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions