1 ; RUN: opt %loadNPMPolly '-passes=print<polly-optree>' -disable-output < %s | FileCheck %s -match-full-lines
3 ; Do not move PHI nodes.
5 ; for (int j = 0; j < n; j += 1) {
13 define void @func(i32 %n, ptr noalias nonnull %A) {
18 %j = phi i32 [0, %entry], [%j.inc, %inc]
19 %j.cmp = icmp slt i32 %j, %n
20 br i1 %j.cmp, label %bodyA, label %exit
23 %val = phi double [42.0, %for]
27 store double %val, ptr %A
31 %j.inc = add nuw nsw i32 %j, 1
42 ; CHECK: ForwardOpTree executed, but did not modify anything