1 ; RUN: opt %loadPolly -polly-print-simplify -disable-output < %s | FileCheck %s -match-full-lines
2 ; RUN: opt %loadNPMPolly "-passes=scop(print<polly-simplify>)" -disable-output -aa-pipeline=basic-aa < %s | FileCheck %s -match-full-lines
4 ; A store that has a different index than the load it is storing is
7 ; for (int j = 0; j < n; j += 1)
10 define void @func(i32 %n, ptr noalias nonnull %A) {
15 %j = phi i32 [0, %entry], [%j.inc, %inc]
16 %j.cmp = icmp slt i32 %j, %n
17 br i1 %j.cmp, label %body, label %exit
20 %val = load double, ptr %A
21 %A_idx = getelementptr inbounds double, ptr %A, i32 %j
22 store double %val, ptr %A_idx
26 %j.inc = add nuw nsw i32 %j, 1
37 ; CHECK: SCoP could not be simplified