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