mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
a62270de2c
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
20 lines
545 B
LLVM
20 lines
545 B
LLVM
; 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
|
|
}
|