21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --check-attributes2; RUN: opt < %s -passes=loop-deletion -S | FileCheck %s3 4define void @f() #0 {5; CHECK: Function Attrs: mustprogress6; CHECK-LABEL: define {{[^@]+}}@f7; CHECK-SAME: () [[ATTR0:#.*]] {8; CHECK-NEXT: unreachable9;10 br label %111 12 %.01 = phi i32 [ 1, %0 ], [ %3, %2 ]13 %.0 = phi i32 [ 1, %0 ], [ %3, %2 ]14 br label %215 16 %3 = add nsw i32 %.01, %.017 br label %118}19 20attributes #0 = { mustprogress }21