Skip to content

Commit d5227a4

Browse files
authored
[HeterogeneousDWARF] Restore XFAIL tests (llvm#3239)
1 parent 702bd09 commit d5227a4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

llvm/test/CodeGen/AMDGPU/preload-implicit-kernargs-debug-info-multi-entry.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2-
; XFAIL: *
32
; RUN: llc -mtriple=amdgcn--amdhsa -mcpu=gfx942 < %s | FileCheck -check-prefixes=GFX942 %s
43

54
define amdgpu_kernel void @preload_block_count_x(ptr addrspace(1) inreg noundef %dst.coerce, ptr addrspace(1) inreg noundef %src.coerce, i64 inreg noundef %nElts, i64 inreg noundef %redOpArg, i1 inreg noundef %redOpArgIsPtr) #0 !dbg !4 {
@@ -288,7 +287,7 @@ attributes #0 = { "amdgpu-no-agpr" "amdgpu-no-completion-action" "amdgpu-no-defa
288287
!2 = !{i32 7, !"Dwarf Version", i32 5}
289288
!3 = !{i32 2, !"Debug Info Version", i32 3}
290289
!4 = distinct !DISubprogram(name: "test", scope: !1, file: !1, line: 1, type: !5, scopeLine: 1, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0)
291-
!5 = !DISubroutineType(cc: DW_CC_LLVM_OpenCLKernel, types: !6)
290+
!5 = !DISubroutineType(cc: DW_CC_LLVM_DeviceKernel, types: !6)
292291
!6 = !{null}
293292
!7 = !{i32 1024, i32 1, i32 1}
294293
!8 = !DILocalVariable(name: "var", arg: 1, scope: !4, file: !1, line: 1, type: !9)

llvm/test/DebugInfo/AMDGPU/lds-variable-location-info.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
; RUN: llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
2-
; XFAIL: *
32
@fun.variable_name = internal addrspace(3) global i32 undef, align 4, !dbg !0
43

54

@@ -33,7 +32,7 @@ attributes #0 = { nounwind }
3332
!1 = distinct !DIGlobalVariable(name: "variable_name", scope: !2, file: !3, line: 2, type: !6, isLocal: true, isDefinition: true)
3433
!2 = distinct !DISubprogram(name: "fun", scope: !3, file: !3, line: 1, type: !4, scopeLine: 1, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !7, retainedNodes: !8)
3534
!3 = !DIFile(filename: "file", directory: "dir")
36-
!4 = !DISubroutineType(cc: DW_CC_LLVM_OpenCLKernel, types: !5)
35+
!4 = !DISubroutineType(cc: DW_CC_LLVM_DeviceKernel, types: !5)
3736
!5 = !{null, !6}
3837
!6 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
3938
!7 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !8, globals: !9, nameTableKind: None)

0 commit comments

Comments
 (0)