Clang] Fix expansion of response files in -Wp after integrated-cc1 change
[llvm-project.git] / polly / test / ScopDetectionDiagnostics / loop_partially_in_scop.ll
blobaf01cadd91cc9fa8a9e67528ec6585092f62db87
1 ; RUN: opt %loadPolly -analyze -polly-detect \
2 ; RUN:     -pass-remarks-missed="polly-detect" \
3 ; RUN:     < %s 2>&1| FileCheck %s
5 ; CHECK: remark: <unknown>:0:0: Loop cannot be handled because not all latches are part of loop region.
6 ; CHECK: remark: <unknown>:0:0: Loop cannot be handled because not all latches are part of loop region.
9 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
11 define void @baz(i32 %before) {
12 bb:
13   br label %bb1
15 bb1:                                              ; preds = %bb
16   br label %bb2
18 bb2:                                              ; preds = %bb8, %bb7, %bb2, %bb1
19   %tmp = phi i32 [ %before, %bb1 ], [ 0, %bb8 ], [ %tmp4, %bb7 ], [ %tmp4, %bb2 ]
20   %tmp3 = or i32 undef, undef
21   %tmp4 = udiv i32 %tmp3, 10
22   %tmp5 = trunc i32 undef to i8
23   %tmp6 = icmp eq i8 %tmp5, 0
24   br i1 %tmp6, label %bb7, label %bb2
26 bb7:                                              ; preds = %bb2
27   br i1 undef, label %bb8, label %bb2
29 bb8:                                              ; preds = %bb7
30   br i1 undef, label %bb9, label %bb2
32 bb9:                                              ; preds = %bb8
33   unreachable