Skip to content

Commit ef84407

Browse files
committed
update test case
1 parent 8711cea commit ef84407

File tree

2 files changed

+26
-41
lines changed

2 files changed

+26
-41
lines changed

llvm/test/CodeGen/AMDGPU/combine-conv-load.ll

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
; RUN: llc -mtriple=amdgcn -mcpu=gfx942 < %s | FileCheck %s
2+
3+
; CHECK-LABEL: test:
4+
; CHECK: .loc 1 8 16 prologue_end ; test.py:8:16
5+
; CHECK-NEXT: s_load_dword
6+
7+
define void @test(ptr addrspace(1) inreg readonly captures(none) %0, ptr addrspace(1) inreg writeonly captures(none) %1) local_unnamed_addr !dbg !4 {
8+
%3 = load <1 x float>, ptr addrspace(1) %0, align 4, !dbg !8, !amdgpu.noclobber !6
9+
store <1 x float> %3, ptr addrspace(1) %1, align 4, !dbg !7
10+
11+
ret void, !dbg !9
12+
}
13+
14+
!llvm.dbg.cu = !{!0}
15+
!llvm.module.flags = !{!2, !3}
16+
17+
!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "triton", isOptimized: true, runtimeVersion: 0, emissionKind: LineTablesOnly)
18+
!1 = !DIFile(filename: "test.py", directory: "/path")
19+
!2 = !{i32 2, !"Debug Info Version", i32 3}
20+
!3 = !{i32 1, !"amdhsa_code_object_version", i32 500}
21+
!4 = distinct !DISubprogram(name: "test", linkageName: "test", scope: !1, file: !1, line: 7, type: !5, scopeLine: 7, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)
22+
!5 = !DISubroutineType(cc: DW_CC_normal, types: !6)
23+
!6 = !{}
24+
!7 = !DILocation(line: 9, column: 20, scope: !4)
25+
!8 = !DILocation(line: 8, column: 16, scope: !4)
26+
!9 = !DILocation(line: 9, column: 4, scope: !4)

0 commit comments

Comments
 (0)