mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 07:52:55 +01:00
77682009bc
llvm-svn: 152595
20 lines
283 B
LLVM
20 lines
283 B
LLVM
; RUN: opt -early-cse -S < %s | FileCheck %s
|
|
; PR12231
|
|
|
|
declare i32 @f()
|
|
|
|
define i32 @fn() {
|
|
entry:
|
|
br label %lbl_1215
|
|
|
|
lbl_1215:
|
|
%ins34 = phi i32 [ %ins35, %xxx ], [ undef, %entry ]
|
|
ret i32 %ins34
|
|
|
|
xxx:
|
|
%ins35 = call i32 @f()
|
|
br label %lbl_1215
|
|
}
|
|
|
|
; CHECK: define i32 @fn
|