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