X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FNVPTX%2Fvector-args.ll;h=c6c8e73bf83ece0e3edf0893b823ed2ed193d479;hb=00552e3875ee5f382db6c98286a241a7d0efe1b8;hp=e480b086075d5546facc081979bd7b4da59ca98f;hpb=b67366514316bbb3cc3cb57f72f2d1439ec474bc;p=oota-llvm.git diff --git a/test/CodeGen/NVPTX/vector-args.ll b/test/CodeGen/NVPTX/vector-args.ll index e480b086075..c6c8e73bf83 100644 --- a/test/CodeGen/NVPTX/vector-args.ll +++ b/test/CodeGen/NVPTX/vector-args.ll @@ -23,3 +23,13 @@ define float @bar(<4 x float> %a) { %t4 = fadd float %t2, %t3 ret float %t4 } + + +define <4 x float> @baz(<4 x float> %a) { +; CHECK: .func (.param .align 16 .b8 func_retval0[16]) baz +; CHECK: .param .align 16 .b8 baz_param_0[16] +; CHECK: ld.param.v4.f32 {%f{{[0-9]+}}, %f{{[0-9]+}}, %f{{[0-9]+}}, %f{{[0-9]+}}} +; CHECK: st.param.v4.f32 [func_retval0+0], {%f{{[0-9]+}}, %f{{[0-9]+}}, %f{{[0-9]+}}, %f{{[0-9]+}}} + %t1 = fmul <4 x float> %a, %a + ret <4 x float> %t1 +}