1 ; RUN: opt %loadPolly -polly-pragma-based-opts=1 -polly-print-opt-isl -disable-output < %s | FileCheck %s --match-full-lines
3 ; Override unroll metadata with llvm.loop.unroll.disable.
5 define void @func(i32 %n, ptr noalias nonnull %A) {
10 %j = phi i32 [0, %entry], [%j.inc, %inc]
11 %j.cmp = icmp slt i32 %j, %n
12 br i1 %j.cmp, label %body, label %exit
15 store double 42.0, ptr %A
19 %j.inc = add nuw nsw i32 %j, 1
20 br label %for, !llvm.loop !2
30 !2 = distinct !{!2, !3, !4}
31 !3 = !{!"llvm.loop.unroll.count", i32 4}
32 !4 = !{!"llvm.loop.unroll.disable"}
35 ; CHECK-LABEL: Printing analysis 'Polly - Optimize schedule of SCoP' for region: 'for => return' in function 'func':
36 ; CHECK-NEXT: Calculated schedule: