[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / polly / test / ScopDetect / expand-region-correctly.ll
blob72082a32fa79098d7b6373cd038d94651213a1ce
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 datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
7 define void @qtm_decompress() {
8 entry:
9   br label %while.cond.outer.outer
11 while.cond.outer.outer:                           ; preds = %entry
12   br label %if.end.1631
14 if.end.1631:                                      ; preds = %do.end.1721, %while.cond.outer.outer
15   br i1 false, label %for.cond.1647.preheader, label %if.then.1635
17 if.then.1635:                                     ; preds = %if.end.1631
18   br label %for.cond.1647.preheader
20 for.cond.1647.preheader:                          ; preds = %if.then.1635, %if.end.1631
21   br label %for.cond.1647.outer
23 for.cond.1647.outer:                              ; preds = %do.end.1685, %for.cond.1647.preheader
24   %bits_needed.5.ph = phi i8 [ 8, %for.cond.1647.preheader ], [ 0, %do.end.1685 ]
25   br label %for.cond.1647
27 for.cond.1647:                                    ; preds = %do.cond.1718, %for.cond.1647.outer
28   br i1 undef, label %do.cond.1718, label %if.then.1659
30 if.then.1659:                                     ; preds = %for.cond.1647
31   br i1 false, label %do.end.1685, label %if.then.1662
33 if.then.1662:                                     ; preds = %if.then.1659
34   unreachable
36 do.end.1685:                                      ; preds = %if.then.1659
37   br label %for.cond.1647.outer
39 do.cond.1718:                                     ; preds = %for.cond.1647
40   br i1 false, label %do.end.1721, label %for.cond.1647
42 do.end.1721:                                      ; preds = %do.cond.1718
43   br label %if.end.1631