instsimplify-dom.ll 290 B

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