reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
; RUN: opt -licm -S < %s | FileCheck %s

define void @f(i1 zeroext %p1) {
; CHECK-LABEL: @f(
entry:
  br label %lbl

lbl.loopexit:                                     ; No predecessors!
  br label %lbl

lbl:                                              ; preds = %lbl.loopexit, %entry
  %phi = phi i32 [ %conv, %lbl.loopexit ], [ undef, %entry ]
; CHECK: phi i32 [ undef, {{.*}} ], [ undef
  br label %if.then.5

if.then.5:                                        ; preds = %if.then.5, %lbl
  %conv = zext i1 undef to i32
  br label %if.then.5
}