Skip to content

Commit ba6699d

Browse files
LU-JOHNsys-ce-bb
authored andcommitted
Revert change to Fortran array test (#2307)
Revert change to Fortran array test. Also rewrite it to DAG checks to avoid output order problems in future. Previous change was in: > Author: Viktoria Maximova <[email protected]> > Date: Tue Jan 16 17:16:33 2024 +0100 > > Fix DebugInfo/NonSemantic/Shader200/FortranArray.ll (#2303) > > The change is needed after llvm/llvm-project@fc6faa11 > The LLVM change that motivated the change to FortranArray.ll has been reverted: > Author: Davide Italiano <[email protected]> > Date: Tue Jan 16 16:56:24 2024 -0800 > > Revert "[CloneFunction][DebugInfo] Avoid cloning DILocalVariables of inlined functions (#75385)" > > This reverts commit fc6faa1. Original commit: KhronosGroup/SPIRV-LLVM-Translator@7bf3fb4
1 parent 982996a commit ba6699d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
; RUN: llvm-dis %t.rev.bc -o - | FileCheck %s --check-prefix=CHECK-LLVM
88

99
; CHECK-SPIRV: [[#CompUnit:]] [[#]] DebugCompilationUnit
10-
; CHECK-SPIRV-DAG: [[#EntryFunc:]] [[#]] DebugFunction [[#]]
1110
; CHECK-SPIRV-DAG: [[#None:]] [[#]] DebugInfoNone
12-
; CHECK-SPIRV: [[#BaseTy:]] [[#]] DebugTypeBasic
13-
; CHECK-SPIRV: [[#Subrange:]] [[#]] DebugTypeSubrange
14-
; CHECK-SPIRV: DebugTypeArrayDynamic [[#BaseTy]] [[#]] [[#]] [[#None]] [[#None]] [[#Subrange]]
11+
; CHECK-SPIRV-DAG: [[#BaseTy:]] [[#]] DebugTypeBasic
12+
; CHECK-SPIRV-DAG: [[#Subrange:]] [[#]] DebugTypeSubrange
13+
; CHECK-SPIRV-DAG: DebugTypeArrayDynamic [[#BaseTy]] [[#]] [[#]] [[#None]] [[#None]] [[#Subrange]]
14+
; CHECK-SPIRV-DAG: [[#EntryFunc:]] [[#]] DebugFunction [[#]]
1515
; CHECK-SPIRV: DebugEntryPoint [[#EntryFunc]] [[#CompUnit]] [[#]] [[#]] {{$}}
1616

1717
; CHECK-LLVM: !DICompileUnit(language: DW_LANG_Fortran95

0 commit comments

Comments
 (0)