1 ; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 | FileCheck %s
2 ; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_20 | %ptxas-verify %}
4 declare <4 x float> @bar()
6 ; CHECK-LABEL: .func foo(
7 define void @foo(ptr %ptr) {
8 ; CHECK: ld.param.u64 %[[PTR:rd[0-9]+]], [foo_param_0];
9 ; CHECK: ld.param.v4.f32 {[[E0:%f[0-9]+]], [[E1:%f[0-9]+]], [[E2:%f[0-9]+]], [[E3:%f[0-9]+]]}, [retval0+0];
10 ; CHECK: st.v4.f32 [%[[PTR]]], {[[E0]], [[E1]], [[E2]], [[E3]]}
11 %val = tail call <4 x float> @bar()
12 store <4 x float> %val, ptr %ptr