[ScopDetectionDiagnostic] IrreducibleRegion is a subclasses of CFG
authorTobias Grosser <tobias@grosser.es>
Sat, 26 Nov 2016 05:08:27 +0000 (05:08 +0000)
committerTobias Grosser <tobias@grosser.es>
Sat, 26 Nov 2016 05:08:27 +0000 (05:08 +0000)
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.

llvm-svn: 287965

polly/include/polly/ScopDetectionDiagnostic.h

index 0da9d8d..b7d8ae5 100644 (file)
@@ -66,8 +66,8 @@ enum class RejectReasonKind {
   // CFG Category
   CFG,
   InvalidTerminator,
-  LastCFG,
   IrreducibleRegion,
+  LastCFG,
 
   // Non-Affinity
   AffFunc,