blob: 1d1b16f54e4b7bb6d74a7b26be64ccb1f5bc89c7 [file] [log] [blame]
; RUN: opt -passes=early-cse -earlycse-debug-hash -S < %s | FileCheck %s
; RUN: opt -passes='early-cse<memssa>' -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-LABEL: define i32 @fn(