Skip to content

Commit c6ec50e

Browse files
Merge pull request #11740 from aschwaighofer/fix_debuginfo_testcase_4.0
Fix test/DebugInfo/dbgvalue-insertpt.swift for non optimized stdlib builds
2 parents d3ac588 + 414c0e3 commit c6ec50e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/DebugInfo/dbgvalue-insertpt.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ for i in 0 ..< 3 {
55
// CHECK: %i.addr = alloca i{{32|64}}
66
// CHECK-NEXT: call void @llvm.dbg.declare(metadata i{{32|64}}* %i.addr,
77
// CHECK-SAME: metadata ![[I:[0-9]+]],
8-
// CHECK: %[[CAST:[0-9]+]] = bitcast %TSiSg* %[[ALLOCA]] to i{{32|64}}*
9-
// CHECK: %[[CAST:[0-9]+]] = bitcast %TSiSg* %[[ALLOCA]] to i{{32|64}}*
10-
// CHECK: %[[LD:[0-9]+]] = load i{{32|64}}, i{{32|64}}* %[[CAST]]
8+
// CHECK: call swiftcc{{.*}} @{{.*}}next{{.*}}
9+
// CHECK: %[[LD:[0-9]+]] = load i{{32|64}}, i{{32|64}}*
1110
// CHECK: br i1 {{%.*}}, label %[[FAIL:.*]], label %[[SUCCESS:.*]],
1211
//
1312
// CHECK: ; <label>:[[SUCCESS]]:

0 commit comments

Comments
 (0)