1 ; RUN: opt %s -passes=loop-deletion -S | FileCheck %s --check-prefixes=CHECK
3 %class.Loc.95 = type { %class.Domain.96 }
4 %class.Domain.96 = type { %class.DomainBase.97 }
5 %class.DomainBase.97 = type { [3 x %struct.WrapNoInit] }
6 %struct.WrapNoInit = type { %class.Loc }
7 %class.Loc = type { %class.Domain.67 }
8 %class.Domain.67 = type { %class.DomainBase.68 }
9 %class.DomainBase.68 = type { i32 }
11 define dso_local void @foo(ptr %0) {
13 ; CHECK-NEXT: br label [[foo:%.*]]
15 ; CHECK-NEXT: ret void
20 %.0.i.i = phi ptr [ undef, %1 ], [ %5, %4 ]
21 %3 = icmp ne ptr %.0.i.i, %0
22 br i1 %3, label %4, label %foo.exit
25 call void @llvm.pseudoprobe(i64 6878943695821059507, i64 9, i32 0, i64 -1)
26 %5 = getelementptr inbounds %class.Loc.95, ptr %.0.i.i, i32 1
29 foo.exit: ; preds = %2
33 declare void @llvm.pseudoprobe(i64, i64, i32, i64) #1
35 attributes #1 = { willreturn readnone norecurse nofree }