[polly] r252611 - Simplify test case
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 10 07:42:44 PST 2015
Author: grosser
Date: Tue Nov 10 09:42:44 2015
New Revision: 252611
URL: http://llvm.org/viewvc/llvm-project?rev=252611&view=rev
Log:
Simplify test case
Commit r252422 introduced an unnecessary complicated test case. Reduce it to
the part that actually triggered the original issue.
Modified:
polly/trunk/test/ScopInfo/same-base-address-scalar-and-array.ll
Modified: polly/trunk/test/ScopInfo/same-base-address-scalar-and-array.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/same-base-address-scalar-and-array.ll?rev=252611&r1=252610&r2=252611&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/same-base-address-scalar-and-array.ll (original)
+++ polly/trunk/test/ScopInfo/same-base-address-scalar-and-array.ll Tue Nov 10 09:42:44 2015
@@ -22,53 +22,9 @@ entry.split:
for.body.lr.ph: ; preds = %entry.split
%arrayidx13 = getelementptr inbounds float, float* %out, i64 -3
%0 = load float, float* %arrayidx13, align 4
- br label %for.body
-
-for.body: ; preds = %for.end, %for.body.lr.ph
- br i1 false, label %for.body.50.lr.ph, label %for.end
-
-for.body.50.lr.ph: ; preds = %for.body
- br label %for.body.50
-
-for.body.50: ; preds = %for.body.50, %for.body.50.lr.ph
- br i1 false, label %for.body.50, label %for.cond.48.for.end_crit_edge
-
-for.cond.48.for.end_crit_edge: ; preds = %for.body.50
- br label %for.end
-
-for.end: ; preds = %for.cond.48.for.end_crit_edge, %for.body
- %add96 = add nuw nsw i32 0, 4
- %cmp = icmp sgt i32 %add96, 0
- br i1 %cmp, label %for.cond.for.end.97_crit_edge, label %for.body
-
-for.cond.for.end.97_crit_edge: ; preds = %for.end
br label %for.end.97
for.end.97: ; preds = %for.cond.for.end.97_crit_edge, %entry.split
- %out.addr.0.lcssa = phi float* [ undef, %for.cond.for.end.97_crit_edge ], [ %out, %entry.split ]
- br i1 undef, label %for.body.104.lr.ph, label %for.end.126
-
-for.body.104.lr.ph: ; preds = %for.end.97
- br label %for.body.104
-
-for.body.104: ; preds = %for.inc.124, %for.body.104.lr.ph
- br i1 undef, label %for.inc.124, label %for.body.111.lr.ph
-
-for.body.111.lr.ph: ; preds = %for.body.104
- br label %for.body.111
-
-for.body.111: ; preds = %for.body.111, %for.body.111.lr.ph
- br i1 undef, label %for.body.111, label %for.cond.109.for.inc.124_crit_edge
-
-for.cond.109.for.inc.124_crit_edge: ; preds = %for.body.111
- br label %for.inc.124
-
-for.inc.124: ; preds = %for.cond.109.for.inc.124_crit_edge, %for.body.104
- br i1 undef, label %for.body.104, label %for.cond.102.for.end.126_crit_edge
-
-for.cond.102.for.end.126_crit_edge: ; preds = %for.inc.124
- br label %for.end.126
-
-for.end.126: ; preds = %for.cond.102.for.end.126_crit_edge, %for.end.97
+ %out.addr.0.lcssa = phi float* [ undef, %for.body.lr.ph ], [ %out, %entry.split ]
ret void
}
More information about the llvm-commits
mailing list