[PATCH] D18504: Bail as early as possible

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 27 14:22:32 PDT 2016


jdoerfert created this revision.
jdoerfert added reviewers: chrisj, grosser, Meinersbur.
jdoerfert added a subscriber: Polly.

  Instead of waiting for the domain construction to finish we will now
  bail as early as possible in case a complexity problem is encountered.
  This might save compile time but more importantly it makes the "abort"
  explicit. While we can always check if we invalidated the assumed
  context we can simply propagate the result of the construction back.
  This also removes the HasComplexCFG flag that was used for the very
  same reason.

http://reviews.llvm.org/D18504

Files:
  include/polly/ScopInfo.h
  lib/Analysis/ScopInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18504.51750.patch
Type: text/x-patch
Size: 5442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160327/d5930f7f/attachment.bin>


More information about the llvm-commits mailing list