[polly] r251268 - tests: Add test cases for LLVM commit r251267
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 25 15:56:42 PDT 2015
Author: grosser
Date: Sun Oct 25 17:56:42 2015
New Revision: 251268
URL: http://llvm.org/viewvc/llvm-project?rev=251268&view=rev
Log:
tests: Add test cases for LLVM commit r251267
This fixes llvm.org/PR25242
Added:
polly/trunk/test/ScopDetect/expand-region-correctly-2.ll
- copied, changed from r251234, polly/trunk/test/ScopInfo/new-domain-construction-schedule-not-freed.ll
polly/trunk/test/ScopDetect/expand-region-correctly.ll
Removed:
polly/trunk/test/ScopInfo/new-domain-construction-schedule-not-freed.ll
Copied: polly/trunk/test/ScopDetect/expand-region-correctly-2.ll (from r251234, polly/trunk/test/ScopInfo/new-domain-construction-schedule-not-freed.ll)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetect/expand-region-correctly-2.ll?p2=polly/trunk/test/ScopDetect/expand-region-correctly-2.ll&p1=polly/trunk/test/ScopInfo/new-domain-construction-schedule-not-freed.ll&r1=251234&r2=251268&rev=251268&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/new-domain-construction-schedule-not-freed.ll (original)
+++ polly/trunk/test/ScopDetect/expand-region-correctly-2.ll Sun Oct 25 17:56:42 2015
@@ -1,9 +1,7 @@
-; RUN: opt %loadPolly -analyze -polly-scops %s | FileCheck %s
+; RUN: opt %loadPolly -polly-detect \
+; RUN: -analyze < %s | FileCheck %s
;
-; At some point this caused a problem in the schedule generation and we
-; keep the test to avoid regressions there.
-;
-; CHECK: Statements
+; CHECK: Valid Region for Scop: if.end.1631 => for.cond.1647.outer
;
target triple = "x86_64-unknown-linux-gnu"
Added: polly/trunk/test/ScopDetect/expand-region-correctly.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopDetect/expand-region-correctly.ll?rev=251268&view=auto
==============================================================================
--- polly/trunk/test/ScopDetect/expand-region-correctly.ll (added)
+++ polly/trunk/test/ScopDetect/expand-region-correctly.ll Sun Oct 25 17:56:42 2015
@@ -0,0 +1,45 @@
+; RUN: opt %loadPolly -polly-detect \
+; RUN: -analyze < %s | FileCheck %s
+
+; CHECK: Valid Region for Scop: if.end.1631 => for.cond.1647.outer
+
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+
+define void @qtm_decompress() {
+entry:
+ br label %while.cond.outer.outer
+
+while.cond.outer.outer: ; preds = %entry
+ br label %if.end.1631
+
+if.end.1631: ; preds = %do.end.1721, %while.cond.outer.outer
+ br i1 false, label %for.cond.1647.preheader, label %if.then.1635
+
+if.then.1635: ; preds = %if.end.1631
+ br label %for.cond.1647.preheader
+
+for.cond.1647.preheader: ; preds = %if.then.1635, %if.end.1631
+ br label %for.cond.1647.outer
+
+for.cond.1647.outer: ; preds = %do.end.1685, %for.cond.1647.preheader
+ %bits_needed.5.ph = phi i8 [ 8, %for.cond.1647.preheader ], [ 0, %do.end.1685 ]
+ br label %for.cond.1647
+
+for.cond.1647: ; preds = %do.cond.1718, %for.cond.1647.outer
+ br i1 undef, label %do.cond.1718, label %if.then.1659
+
+if.then.1659: ; preds = %for.cond.1647
+ br i1 false, label %do.end.1685, label %if.then.1662
+
+if.then.1662: ; preds = %if.then.1659
+ unreachable
+
+do.end.1685: ; preds = %if.then.1659
+ br label %for.cond.1647.outer
+
+do.cond.1718: ; preds = %for.cond.1647
+ br i1 false, label %do.end.1721, label %for.cond.1647
+
+do.end.1721: ; preds = %do.cond.1718
+ br label %if.end.1631
+}
Removed: polly/trunk/test/ScopInfo/new-domain-construction-schedule-not-freed.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/new-domain-construction-schedule-not-freed.ll?rev=251267&view=auto
==============================================================================
--- polly/trunk/test/ScopInfo/new-domain-construction-schedule-not-freed.ll (original)
+++ polly/trunk/test/ScopInfo/new-domain-construction-schedule-not-freed.ll (removed)
@@ -1,55 +0,0 @@
-; RUN: opt %loadPolly -analyze -polly-scops %s | FileCheck %s
-;
-; At some point this caused a problem in the schedule generation and we
-; keep the test to avoid regressions there.
-;
-; CHECK: Statements
-;
-target triple = "x86_64-unknown-linux-gnu"
-
-; Function Attrs: nounwind uwtable
-define void @qtm_decompress() #0 {
-entry:
- br label %if.end.1631
-
-if.end.1631: ; preds = %entry
- br i1 false, label %for.cond.1647.preheader, label %if.then.1635
-
-if.then.1635: ; preds = %if.end.1631
- br label %for.cond.1647.preheader
-
-for.cond.1647.preheader: ; preds = %if.then.1635, %if.end.1631
- br label %for.cond.1647.outer
-
-for.cond.1647.outer: ; preds = %do.end.1685, %for.cond.1647.preheader
- %bits_needed.5.ph = phi i8 [ 8, %for.cond.1647.preheader ], [ undef, %do.end.1685 ]
- br label %for.cond.1647
-
-for.cond.1647: ; preds = %do.cond.1718, %for.cond.1647.outer
- %bits_needed.5 = phi i8 [ 8, %do.cond.1718 ], [ %bits_needed.5.ph, %for.cond.1647.outer ]
- br i1 undef, label %do.cond.1718, label %if.then.1659
-
-if.then.1659: ; preds = %for.cond.1647
- br i1 false, label %do.end.1685, label %cleanup.1785
-
-do.end.1685: ; preds = %if.then.1659
- br label %for.cond.1647.outer
-
-do.cond.1718: ; preds = %for.cond.1647
- br i1 false, label %land.lhs.true.1736, label %for.cond.1647
-
-land.lhs.true.1736: ; preds = %do.cond.1718
- br label %if.then.1742
-
-if.then.1742: ; preds = %land.lhs.true.1736
- unreachable
-
-cleanup.1785: ; preds = %if.then.1659
- ret void
-}
-
-attributes #0 = { nounwind uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+mmx,+sse,+sse2" "unsafe-fp-math"="false" "use-soft-float"="false" }
-
-!llvm.ident = !{!0}
-
-!0 = !{!"clang version 3.8.0 (trunk 250010) (llvm/trunk 250018)"}
More information about the llvm-commits
mailing list