Skip to content

Commit 4a50940

Browse files
svenvhvmaksimo
authored andcommitted
Update tests after OpenCLKernel attribute rename (#3216)
Update after llvm-project commit 3b9ebe9 ("[clang] Simplify device kernel attributes (#137882)", 2025-06-05). Original commit: KhronosGroup/SPIRV-LLVM-Translator@221039c032ebce0
1 parent 8dd07f2 commit 4a50940

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm-spirv/test/DebugInfo/LocalAddressSpace.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ attributes #0 = { convergent noinline nounwind optnone "correctly-rounded-divide
5151
!1 = distinct !DIGlobalVariable(name: "a", scope: !2, file: !3, line: 2, type: !10, isLocal: true, isDefinition: true)
5252
!2 = distinct !DISubprogram(name: "foo", scope: !3, file: !3, line: 1, type: !4, scopeLine: 1, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !6, retainedNodes: !8)
5353
!3 = !DIFile(filename: "tmp/tmp.cl", directory: "/work")
54-
!4 = !DISubroutineType(cc: DW_CC_LLVM_OpenCLKernel, types: !5)
54+
!4 = !DISubroutineType(cc: DW_CC_LLVM_DeviceKernel, types: !5)
5555
!5 = !{null}
5656
!6 = distinct !DICompileUnit(language: DW_LANG_C99, file: !7, producer: "clang version 9.0.0 (https://llvm.org/git/clang 92470c6aadff9e614bfac44f48e6e1d430e5a32d) (https://llvm.org/git/llvm 461a7ee6493f997d6dc03ca0e80b6a7bd7943a83)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !8, globals: !9, nameTableKind: None)
5757
!7 = !DIFile(filename: "/work/tmp/<stdin>", directory: "/work/llvm/build")

llvm-spirv/test/DebugInfo/RecursiveDebugInfo.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ attributes #5 = { nounwind }
141141
!10 = !{}
142142
!11 = !{!"clang version 10.0.0"}
143143
!12 = distinct !DISubprogram(name: "_ZTS3foo", scope: !1, file: !1, line: 28, type: !13, flags: DIFlagArtificial | DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !14)
144-
!13 = !DISubroutineType(cc: DW_CC_LLVM_OpenCLKernel, types: !3)
144+
!13 = !DISubroutineType(cc: DW_CC_LLVM_DeviceKernel, types: !3)
145145
!14 = !{!15}
146146
!15 = !DILocalVariable(scope: !12, file: !1, type: !16)
147147
!16 = distinct !DICompositeType(tag: DW_TAG_class_type, file: !1, line: 28, size: 8, flags: DIFlagTypePassByValue | DIFlagNonTrivial, elements: !17)

0 commit comments

Comments
 (0)