Skip to content

Commit ac09fd2

Browse files
vmaksimoChenyang-L
authored andcommitted
Update DebugInfo/FortranArray test after DWARF emission fix (#2054)
Update test for llvm-project commit llvm/llvm-project@d80fdc6fc1a6 Original commit: KhronosGroup/SPIRV-LLVM-Translator@b1782bf
1 parent 77f72e6 commit ac09fd2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

llvm-spirv/test/DebugInfo/NonSemantic/Shader200/FortranArray.ll

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
; RUN: llvm-spirv -r -emit-opaque-pointers %t.spv -o %t.rev.bc
77
; RUN: llvm-dis %t.rev.bc -o - | FileCheck %s --check-prefix=CHECK-LLVM
88

9-
; TODO: rewrite test after llvm DI metadata changes.
10-
; XFAIL: *
11-
129
; CHECK-SPIRV: [[#CompUnit:]] [[#]] DebugCompilationUnit
1310
; CHECK-SPIRV: [[#None:]] [[#]] DebugInfoNone
1411
; CHECK-SPIRV: [[#EntryFunc:]] [[#]] DebugFunction
@@ -27,6 +24,10 @@ source_filename = "llvm-link"
2724
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64"
2825
target triple = "spir64"
2926

27+
define void @MAIN__() local_unnamed_addr !dbg !24 {
28+
ret void
29+
}
30+
3031
!llvm.module.flags = !{!5, !6, !7, !8}
3132
!llvm.dbg.cu = !{!9}
3233

0 commit comments

Comments
 (0)