Use "isa" since the variable isn't used.
[llvm-complete.git] / test / Transforms / LoopIdiom / scev-invalidation_topmostloop.ll
blob97ebf9bd1681f4ad982ae8e3435e05d6b74a70a0
1 ; RUN: opt -S -indvars -loop-idiom -verify -loop-simplifycfg -loop-idiom < %s | FileCheck %s
3 target triple = "x86_64-unknown-linux-gnu"
5 ; CHECK-LABEL: @f1()
6 ; CHECK-NEXT: entry:
7 define void @f1() {
8 entry:
9   br label %lbl1
11 lbl1:                                             ; preds = %if.end, %entry
12   br label %for
14 for:                                              ; preds = %if.end, %lbl1
15   br label %lor.end
17 lor.end:                                          ; preds = %for
18   br i1 undef, label %for.end, label %if.end
20 if.end:                                           ; preds = %lor.end
21   br i1 undef, label %lbl1, label %for
23 for.end:                                          ; preds = %lor.end
24   ret void