You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
693 B
31 lines
693 B
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
|
|
|
|
; CHECK: .visible .func foo1
|
|
; CHECK: st.v2.f32
|
|
define void @foo1(<2 x float> %val, <2 x float>* %ptr) {
|
|
store <2 x float> %val, <2 x float>* %ptr
|
|
ret void
|
|
}
|
|
|
|
; CHECK: .visible .func foo2
|
|
; CHECK: st.v4.f32
|
|
define void @foo2(<4 x float> %val, <4 x float>* %ptr) {
|
|
store <4 x float> %val, <4 x float>* %ptr
|
|
ret void
|
|
}
|
|
|
|
; CHECK: .visible .func foo3
|
|
; CHECK: st.v2.u32
|
|
define void @foo3(<2 x i32> %val, <2 x i32>* %ptr) {
|
|
store <2 x i32> %val, <2 x i32>* %ptr
|
|
ret void
|
|
}
|
|
|
|
; CHECK: .visible .func foo4
|
|
; CHECK: st.v4.u32
|
|
define void @foo4(<4 x i32> %val, <4 x i32>* %ptr) {
|
|
store <4 x i32> %val, <4 x i32>* %ptr
|
|
ret void
|
|
}
|
|
|