1 ; RUN: opt %loadPolly -polly-import-jscop-postfix=transformed -polly-print-import-jscop -polly-print-simplify -disable-output < %s | FileCheck %s -match-full-lines
3 ; Remove a redundant store, if its partial domain is a subset of the
6 define void @redundant_partialwrite(i32 %n, ptr noalias nonnull %A) {
11 %j = phi i32 [0, %entry], [%j.inc, %inc]
12 %j.cmp = icmp slt i32 %j, %n
13 br i1 %j.cmp, label %body, label %exit
16 %val = load double, ptr %A
17 store double %val, ptr %A
21 %j.inc = add nuw nsw i32 %j, 1
32 ; Check successful import.
33 ; CHECK: new: [n] -> { Stmt_body[i0] -> MemRef_A[0] : i0 <= 15 };
36 ; CHECK: Redundant writes removed: 1
39 ; CHECK: After accesses {