1 ; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-print-simplify -disable-output < %s | FileCheck -match-full-lines %s
3 ; Do not combine stores that do not write to different elements in the
6 ; for (int j = 0; j < n; j += 1) {
11 define void @nocoalesce_elementmismatch(i32 %n, ptr noalias nonnull %A) {
16 %j = phi i32 [0, %entry], [%j.inc, %inc]
17 %j.cmp = icmp slt i32 %j, %n
18 br i1 %j.cmp, label %body, label %exit
21 %A_1 = getelementptr inbounds double, ptr %A, i32 1
22 store double 42.0, ptr %A
23 store double 42.0, ptr %A_1
27 %j.inc = add nuw nsw i32 %j, 1
38 ; CHECK: SCoP could not be simplified