summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2018-05-08 07:24:05 +0000
committerTobias Grosser <tobias@grosser.es>2018-05-08 07:24:05 +0000
commit1c88d41020a3483554ba025c38f5cee79f15b8b5 (patch)
tree43123dc6f2e786583a8976fdc902ed1227465de2
parent5e52fa90350d982858dbbedcca772c1de1777e95 (diff)
downloadbcm5719-llvm-1c88d41020a3483554ba025c38f5cee79f15b8b5.tar.gz
bcm5719-llvm-1c88d41020a3483554ba025c38f5cee79f15b8b5.zip
[test] Replace undef with true/false to make test case less fragile
This test case does not require undef to be present in branch conditions. Replace these undef values with true/false values to clarify the control-flow required to reach the loop under testing. llvm-svn: 331744
-rw-r--r--polly/test/ScopInfo/scev-div-with-evaluatable-divisor.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/test/ScopInfo/scev-div-with-evaluatable-divisor.ll b/polly/test/ScopInfo/scev-div-with-evaluatable-divisor.ll
index d1931c04385..e06da251e0b 100644
--- a/polly/test/ScopInfo/scev-div-with-evaluatable-divisor.ll
+++ b/polly/test/ScopInfo/scev-div-with-evaluatable-divisor.ll
@@ -11,14 +11,14 @@ target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind uwtable
define void @cfft2(i32 %n, double* %A) local_unnamed_addr #0 {
entry:
- br i1 undef, label %for.body.lr.ph, label %for.end
+ br i1 true, label %for.body.lr.ph, label %for.end
for.body.lr.ph: ; preds = %entry
br label %for.body
for.body: ; preds = %for.inc, %for.body.lr.ph
%mj.017 = phi i32 [ 1, %for.body.lr.ph ], [ undef, %for.inc ]
- br i1 undef, label %if.else, label %if.then
+ br i1 true, label %if.else, label %if.then
if.then: ; preds = %for.body
br label %for.inc
@@ -26,16 +26,16 @@ if.then: ; preds = %for.body
if.else: ; preds = %for.body
%mul.i44 = shl i32 %mj.017, 2
%div.i45 = sdiv i32 %n, %mul.i44
- br i1 undef, label %for.body.i58.lr.ph, label %for.inc
+ br i1 true, label %for.body.i58.lr.ph, label %for.inc
for.body.i58.lr.ph: ; preds = %if.else
- br i1 undef, label %for.body.i58.us, label %for.body.i58.preheader
+ br i1 false, label %for.body.i58.us, label %for.body.i58.preheader
for.body.i58.preheader: ; preds = %for.body.i58.lr.ph
br label %for.body.i58
for.body.i58.us: ; preds = %for.body.i58.us, %for.body.i58.lr.ph
- br i1 undef, label %for.inc, label %for.body.i58.us
+ br i1 false, label %for.inc, label %for.body.i58.us
for.body.i58: ; preds = %for.body.i58, %for.body.i58.preheader
store double 0.0, double* %A
OpenPOWER on IntegriCloud