[polly] r250408 - Remove "CHECK: br" from some unit tests
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 07:40:40 PDT 2015
Author: meinersbur
Date: Thu Oct 15 09:40:40 2015
New Revision: 250408
URL: http://llvm.org/viewvc/llvm-project?rev=250408&view=rev
Log:
Remove "CHECK: br" from some unit tests
They happen to match
%polly.subregion.iv.inc = add i32 %polly.subregion.iv, 1
^^ ^^
that is, are misleading in what they actually check.
Modified:
polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-3.ll
polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-4.ll
Modified: polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-3.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-3.ll?rev=250408&r1=250407&r2=250408&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-3.ll (original)
+++ polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-3.ll Thu Oct 15 09:40:40 2015
@@ -20,7 +20,6 @@ loop:
; CHECK-NEXT: store float %p_val0, float* %merge.phiops
; CHECK-NEXT: store float %p_val1, float* %val1.s2a
; CHECK-NEXT: store float %p_val2, float* %val2.s2a
-; CHECK-NEXT: br
; FIXME -> The last two writes are not really needed and can be dropped if the
; incoming block of the PHI and the value that is used share the same
@@ -31,14 +30,12 @@ branch1:
; CHECK-LABEL: polly.stmt.branch1:
; CHECK-NEXT: store float %p_val1, float* %merge.phiops
-; CHECK-NEXT: br
branch2:
br label %backedge
; CHECK-LABEL: polly.stmt.branch2:
; CHECK-NEXT: store float %p_val2, float* %merge.phiops
-; CHECK-NEXT: br
backedge:
%merge = phi float [%val0, %loop], [%val1, %branch1], [%val2, %branch2]
Modified: polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-4.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-4.ll?rev=250408&r1=250407&r2=250408&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-4.ll (original)
+++ polly/trunk/test/Isl/CodeGen/non-affine-phi-node-expansion-4.ll Thu Oct 15 09:40:40 2015
@@ -17,7 +17,6 @@ loop:
; CHECK-NEXT: %p_val1 = fadd float 1.000000e+00, 2.000000e+00
; CHECK-NEXT: store float %p_val0, float* %merge.phiops
; CHECK-NEXT: store float %p_val1, float* %val1.s2a
-; CHECK-NEXT: br
; The interesting instruction here is %val2, which does not dominate the exit of
; the non-affine region. Care needs to be taken when code-generating this write.
@@ -43,7 +42,6 @@ branch2:
; CHECK-LABEL: polly.stmt.branch2:
; CHECK-NEXT: store float %p_val2, float* %merge.phiops
-; CHECK-NEXT: br
backedge:
%merge = phi float [%val0, %loop], [%val1, %branch1], [%val2, %branch2]
More information about the llvm-commits
mailing list