Skip to content

Commit 312055d

Browse files
1 parent 5c3c0a8 commit 312055d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

llvm/test/CodeGen/NVPTX/griddepcontrol.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
22
; RUN: llc < %s -mcpu=sm_90 -march=nvptx64 | FileCheck %s
3-
; RUN: %if ptxas-11.8 %{ llc < %s -mcpu=sm_90 -march=nvptx64 | %ptxas-verify %}
3+
; RUN: %if ptxas-11.8 %{ llc < %s -mcpu=sm_90 -march=nvptx64 | %ptxas-verify -arch=sm_90 %}
44

55
define void @griddepcontrol() {
66
; CHECK-LABEL: griddepcontrol(

llvm/test/CodeGen/NVPTX/kernel-param-align.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: llc < %s -mtriple=nvptx64 -mcpu=sm_60 | FileCheck %s
2-
; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_60 | %ptxas-verify %}
2+
; RUN: %if ptxas %{ llc < %s -mtriple=nvptx64 -mcpu=sm_60 | %ptxas -arch=sm_60 - %}
33

44
%struct.Large = type { [16 x double] }
55

llvm/test/CodeGen/NVPTX/lower-args.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ define ptx_kernel void @ptr_generic(ptr %out, ptr %in) {
8787
}
8888

8989
; COMMON-LABEL: ptr_nongeneric
90-
define ptx_kernel void @ptr_nongeneric(ptr addrspace(1) %out, ptr addrspace(4) %in) {
90+
define ptx_kernel void @ptr_nongeneric(ptr addrspace(1) %out, ptr addrspace(3) %in) {
9191
; IR-NOT: addrspacecast
9292
; PTX-NOT: cvta.to.global
93-
; PTX: ld.const.u32
93+
; PTX: ld.shared.u32
9494
; PTX st.global.u32
95-
%v = load i32, ptr addrspace(4) %in, align 4
95+
%v = load i32, ptr addrspace(3) %in, align 4
9696
store i32 %v, ptr addrspace(1) %out, align 4
9797
ret void
9898
}

0 commit comments

Comments
 (0)