Skip to content

Commit fbe5a0e

Browse files
authored
Merge pull request #17272 from dcci/42guard
[DebugInfo] Relax the output of this test.
2 parents 407eed0 + 9a0689c commit fbe5a0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/DebugInfo/guard-let.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ public func g(_ s : String?)
3232
// CHECK2: @llvm.dbg.declare(metadata %TSSSg*
3333
// CHECK2: %debug.copy1 = alloca %TSS
3434
// CHECK2: @llvm.dbg.declare(metadata %TSS*
35-
// CHECK2: %4 = bitcast %TSSSg* %debug.copy to { i64, i64 }*, !dbg
36-
// CHECK2: %5 = getelementptr inbounds { i64, i64 }, { i64, i64 }* %4, i32 0, i32 0, !dbg
37-
// CHECK2: store i64 %0, i64* %5, align 8, !dbg
35+
// CHECK2: %4 = bitcast %TSSSg* %debug.copy to {{.*}}*, !dbg
36+
// CHECK2: %5 = getelementptr inbounds {{.*}}, {{.*}}* %4, i32 0, i32 0, !dbg
37+
// CHECK2: store {{.*}} %0, {{.*}}* %5, align 8, !dbg
3838
// CHECK2: ![[G:.*]] = distinct !DISubprogram(name: "g"
3939
guard let val = s else { return }
4040
use(val)

0 commit comments

Comments
 (0)