Skip to content

Commit

Permalink
[NFC] Revert change to Fortran array test (#2307)
Browse files Browse the repository at this point in the history
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 fc6faa1113e9069f41b5500db051210af0eea843.
  • Loading branch information
LU-JOHN authored Jan 22, 2024
1 parent 10b0aab commit 7bf3fb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/DebugInfo/NonSemantic/Shader200/FortranArray.ll
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

; CHECK-SPIRV: [[#CompUnit:]] [[#]] DebugCompilationUnit
; CHECK-SPIRV-DAG: [[#None:]] [[#]] DebugInfoNone
; CHECK-SPIRV: [[#BaseTy:]] [[#]] DebugTypeBasic
; CHECK-SPIRV: [[#Subrange:]] [[#]] DebugTypeSubrange
; CHECK-SPIRV: DebugTypeArrayDynamic [[#BaseTy]] [[#]] [[#]] [[#None]] [[#None]] [[#Subrange]]
; CHECK-SPIRV-DAG: [[#BaseTy:]] [[#]] DebugTypeBasic
; CHECK-SPIRV-DAG: [[#Subrange:]] [[#]] DebugTypeSubrange
; CHECK-SPIRV-DAG: DebugTypeArrayDynamic [[#BaseTy]] [[#]] [[#]] [[#None]] [[#None]] [[#Subrange]]
; CHECK-SPIRV-DAG: [[#EntryFunc:]] [[#]] DebugFunction [[#]]
; CHECK-SPIRV: DebugEntryPoint [[#EntryFunc]] [[#CompUnit]] [[#]] [[#]] {{$}}

Expand Down

0 comments on commit 7bf3fb4

Please sign in to comment.