1 ; RUN: opt -early-cse -S < %s | FileCheck %s 2 ; RUN: opt -basicaa -early-cse-memssa -S < %s | FileCheck %s 3 ; PR12231 4 5 declare i32 @f() 6 7 define i32 @fn() { 8 entry: 9 br label %lbl_1215 10 11 lbl_1215: 12 %ins34 = phi i32 [ %ins35, %xxx ], [ undef, %entry ] 13 ret i32 %ins34 14 15 xxx: 16 %ins35 = call i32 @f() 17 br label %lbl_1215 18 } 19 20 ; CHECK-LABEL: define i32 @fn( 21