[polly] r287965 - [ScopDetectionDiagnostic] IrreducibleRegion is a subclasses of CFG

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 25 21:08:28 PST 2016


Author: grosser
Date: Fri Nov 25 23:08:27 2016
New Revision: 287965

URL: http://llvm.org/viewvc/llvm-project?rev=287965&view=rev
Log:
[ScopDetectionDiagnostic] IrreducibleRegion is a subclasses of CFG

Reflect this correctly in the RejectReasonKind enum. The definition of
RejectReasonKind::IrreducibleRegion was introduced in r258497, when we started
to refuse regions containing irreducible loops.

Modified:
    polly/trunk/include/polly/ScopDetectionDiagnostic.h

Modified: polly/trunk/include/polly/ScopDetectionDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopDetectionDiagnostic.h?rev=287965&r1=287964&r2=287965&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopDetectionDiagnostic.h (original)
+++ polly/trunk/include/polly/ScopDetectionDiagnostic.h Fri Nov 25 23:08:27 2016
@@ -66,8 +66,8 @@ enum class RejectReasonKind {
   // CFG Category
   CFG,
   InvalidTerminator,
-  LastCFG,
   IrreducibleRegion,
+  LastCFG,
 
   // Non-Affinity
   AffFunc,




More information about the llvm-commits mailing list