diff options
author | Justin Holewinski <jholewinski@nvidia.com> | 2013-06-28 17:57:53 +0000 |
---|---|---|
committer | Justin Holewinski <jholewinski@nvidia.com> | 2013-06-28 17:57:53 +0000 |
commit | b67366514316bbb3cc3cb57f72f2d1439ec474bc (patch) | |
tree | 5b74da94451032639155fd52fbdf52a65b798859 /test/CodeGen/NVPTX | |
parent | 00df1252286eb71b093d8e45eb4c9cee4ca5761d (diff) | |
download | external_llvm-b67366514316bbb3cc3cb57f72f2d1439ec474bc.zip external_llvm-b67366514316bbb3cc3cb57f72f2d1439ec474bc.tar.gz external_llvm-b67366514316bbb3cc3cb57f72f2d1439ec474bc.tar.bz2 |
[NVPTX] Clean up handling of formal arguments and enable generation of vector parameter loads
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/NVPTX')
-rw-r--r-- | test/CodeGen/NVPTX/vector-args.ll | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/CodeGen/NVPTX/vector-args.ll b/test/CodeGen/NVPTX/vector-args.ll index 80deae4..e480b08 100644 --- a/test/CodeGen/NVPTX/vector-args.ll +++ b/test/CodeGen/NVPTX/vector-args.ll @@ -4,8 +4,7 @@ define float @foo(<2 x float> %a) { ; CHECK: .func (.param .b32 func_retval0) foo ; CHECK: .param .align 8 .b8 foo_param_0[8] -; CHECK: ld.param.f32 %f{{[0-9]+}} -; CHECK: ld.param.f32 %f{{[0-9]+}} +; CHECK: ld.param.v2.f32 {%f{{[0-9]+}}, %f{{[0-9]+}}} %t1 = fmul <2 x float> %a, %a %t2 = extractelement <2 x float> %t1, i32 0 %t3 = extractelement <2 x float> %t1, i32 1 @@ -17,8 +16,7 @@ define float @foo(<2 x float> %a) { define float @bar(<4 x float> %a) { ; CHECK: .func (.param .b32 func_retval0) bar ; CHECK: .param .align 16 .b8 bar_param_0[16] -; CHECK: ld.param.f32 %f{{[0-9]+}} -; CHECK: ld.param.f32 %f{{[0-9]+}} +; CHECK: ld.param.v4.f32 {%f{{[0-9]+}}, %f{{[0-9]+}}, %f{{[0-9]+}}, %f{{[0-9]+}}} %t1 = fmul <4 x float> %a, %a %t2 = extractelement <4 x float> %t1, i32 0 %t3 = extractelement <4 x float> %t1, i32 1 |