1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --check-attributes
2 ; RUN: opt < %s -passes=loop-deletion -S | FileCheck %s
5 ; CHECK: Function Attrs: mustprogress
6 ; CHECK-LABEL: define {{[^@]+}}@f
7 ; CHECK-SAME: () [[ATTR0:#.*]] {
8 ; CHECK-NEXT: unreachable
12 %.01 = phi i32 [ 1, %0 ], [ %3, %2 ]
13 %.0 = phi i32 [ 1, %0 ], [ %3, %2 ]
16 %3 = add nsw i32 %.01, %.0
20 attributes #0 = { mustprogress }