[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / polly / test / ScopDetect / expand-region-correctly-2.ll
blobfadb503cff35c78f8b20d9fa2b4f1525779d02a5
1 ; RUN: opt %loadPolly -polly-print-detect -disable-output < %s | FileCheck %s
3 ; CHECK: Valid Region for Scop: if.end.1631 => for.cond.1647.outer
5 target triple = "x86_64-unknown-linux-gnu"
7 ; Function Attrs: nounwind uwtable
8 define void @qtm_decompress() #0 {
9 entry:
10   br label %if.end.1631
12 if.end.1631:                                      ; preds = %entry
13   br i1 false, label %for.cond.1647.preheader, label %if.then.1635
15 if.then.1635:                                     ; preds = %if.end.1631
16   br label %for.cond.1647.preheader
18 for.cond.1647.preheader:                          ; preds = %if.then.1635, %if.end.1631
19   br label %for.cond.1647.outer
21 for.cond.1647.outer:                              ; preds = %do.end.1685, %for.cond.1647.preheader
22   %bits_needed.5.ph = phi i8 [ 8, %for.cond.1647.preheader ], [ undef, %do.end.1685 ]
23   br label %for.cond.1647
25 for.cond.1647:                                    ; preds = %do.cond.1718, %for.cond.1647.outer
26   %bits_needed.5 = phi i8 [ 8, %do.cond.1718 ], [ %bits_needed.5.ph, %for.cond.1647.outer ]
27   br i1 undef, label %do.cond.1718, label %if.then.1659
29 if.then.1659:                                     ; preds = %for.cond.1647
30   br i1 false, label %do.end.1685, label %cleanup.1785
32 do.end.1685:                                      ; preds = %if.then.1659
33   br label %for.cond.1647.outer
35 do.cond.1718:                                     ; preds = %for.cond.1647
36   br i1 false, label %land.lhs.true.1736, label %for.cond.1647
38 land.lhs.true.1736:                               ; preds = %do.cond.1718
39   br label %if.then.1742
41 if.then.1742:                                     ; preds = %land.lhs.true.1736
42   unreachable
44 cleanup.1785:                                     ; preds = %if.then.1659
45   ret void
48 attributes #0 = { nounwind uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+mmx,+sse,+sse2" "unsafe-fp-math"="false" "use-soft-float"="false" }
50 !llvm.ident = !{!0}
52 !0 = !{!"clang version 3.8.0 (trunk 250010) (llvm/trunk 250018)"}