Fix two warnings in polly, -Wmismatched-tags and -Wreorder
[polly-mirror.git] / test / ScopInfo / undef_in_cond.ll
blobe66685a383052b753d37c78e6df0bd56f845140d
1 ; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
2 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
4 define fastcc void @fix_operands() nounwind {
5 entry:
6   br i1 undef, label %bb3, label %bb1
8 bb1:                                              ; preds = %bb
9   %0 = icmp eq i32 0, undef                       ; <i1> [#uses=1]
10   br i1 %0, label %bb3, label %bb2
12 bb2:                                              ; preds = %bb1
13   br label %bb3
15 bb3:                                              ; preds = %bb2, %bb1, %bb
16   br label %bb14
18 bb14:                                             ; preds = %bb5, %bb4, %bb3, %entry
19   ret void
22 ; CHECK-NOT: Function: