[polly] r230800 - [Fix] Two tests that broke during the last changes
Johannes Doerfert
doerfert at cs.uni-saarland.de
Fri Feb 27 13:58:27 PST 2015
Author: jdoerfert
Date: Fri Feb 27 15:58:26 2015
New Revision: 230800
URL: http://llvm.org/viewvc/llvm-project?rev=230800&view=rev
Log:
[Fix] Two tests that broke during the last changes
Modified:
polly/trunk/test/ScopInfo/scalar_dependence_cond_br.ll
Modified: polly/trunk/test/ScopInfo/scalar_dependence_cond_br.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/scalar_dependence_cond_br.ll?rev=230800&r1=230799&r2=230800&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/scalar_dependence_cond_br.ll (original)
+++ polly/trunk/test/ScopInfo/scalar_dependence_cond_br.ll Fri Feb 27 15:58:26 2015
@@ -6,12 +6,11 @@
; A[i]++;
; }
;
-; CHECK: Stmt_for_cond
-; CHECK: MustWriteAccess := [Reduction Type: NONE] [Scalar: 1]
-; CHECK: [c] -> { Stmt_for_cond[i0] -> MemRef_cmp1[] };
-; CHECK: Stmt_for_body
-; CHECK: ReadAccess := [Reduction Type: NONE] [Scalar: 1]
-; CHECK: [c] -> { Stmt_for_body[i0] -> MemRef_cmp1[] };
+; We should move operands as close to their use as possible, hence in this case
+; there should not be any scalar dependence anymore after %cmp1 is moved to
+; %for.body (%c and %indvar.iv are synthesis able).
+;
+; CHECK-NOT: [Scalar: 1]
;
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
More information about the llvm-commits
mailing list