summaryrefslogtreecommitdiff
path: root/test/CodeGen/NVPTX/ldparam-v4.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/NVPTX/ldparam-v4.ll')
-rw-r--r--test/CodeGen/NVPTX/ldparam-v4.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/NVPTX/ldparam-v4.ll b/test/CodeGen/NVPTX/ldparam-v4.ll
index ec306aafe8549..4d082f6e9a58d 100644
--- a/test/CodeGen/NVPTX/ldparam-v4.ll
+++ b/test/CodeGen/NVPTX/ldparam-v4.ll
@@ -2,8 +2,11 @@
declare <4 x float> @bar()
+; CHECK-LABEL: .func foo(
define void @foo(<4 x float>* %ptr) {
-; CHECK: ld.param.v4.f32
+; CHECK: ld.param.u32 %[[PTR:r[0-9]+]], [foo_param_0];
+; CHECK: ld.param.v4.f32 {[[E0:%f[0-9]+]], [[E1:%f[0-9]+]], [[E2:%f[0-9]+]], [[E3:%f[0-9]+]]}, [retval0+0];
+; CHECK: st.v4.f32 [%[[PTR]]], {[[E0]], [[E1]], [[E2]], [[E3]]}
%val = tail call <4 x float> @bar()
store <4 x float> %val, <4 x float>* %ptr
ret void