summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/cube.ll
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-11-03 17:13:50 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-11-03 17:13:50 +0000
commit2b3379cdffaa5d2af96abf0489f9755149be1f8e (patch)
tree95c48ec395af390718e2900e4eed4bbefd0d257a /llvm/test/CodeGen/AMDGPU/cube.ll
parent40c15abe5fa31468f3ccc5c4439d29bb5e2e8c71 (diff)
downloadbcm5719-llvm-2b3379cdffaa5d2af96abf0489f9755149be1f8e.tar.gz
bcm5719-llvm-2b3379cdffaa5d2af96abf0489f9755149be1f8e.zip
AMDGPU: Add VI i16 support
Patch By: Wei Ding Differential Revision: https://reviews.llvm.org/D18049 llvm-svn: 285939
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/cube.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/cube.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/cube.ll b/llvm/test/CodeGen/AMDGPU/cube.ll
index ab99af5864e..c5d1f86cea7 100644
--- a/llvm/test/CodeGen/AMDGPU/cube.ll
+++ b/llvm/test/CodeGen/AMDGPU/cube.ll
@@ -30,10 +30,10 @@ define void @cube(<4 x float> addrspace(1)* %out, float %a, float %b, float %c)
}
; GCN-LABEL: {{^}}legacy_cube:
-; GCN-DAG: v_cubeid_f32 v{{[0-9]+}}, s{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}}
-; GCN-DAG: v_cubesc_f32 v{{[0-9]+}}, s{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}}
-; GCN-DAG: v_cubetc_f32 v{{[0-9]+}}, s{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}}
-; GCN-DAG: v_cubema_f32 v{{[0-9]+}}, s{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}}
+; GCN-DAG: v_cubeid_f32 v{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}}, s{{[0-9]+}}
+; GCN-DAG: v_cubesc_f32 v{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}}, s{{[0-9]+}}
+; GCN-DAG: v_cubetc_f32 v{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}}, s{{[0-9]+}}
+; GCN-DAG: v_cubema_f32 v{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}}, s{{[0-9]+}}
; GCN: buffer_store_dwordx4
define void @legacy_cube(<4 x float> addrspace(1)* %out, <4 x float> %abcx) #1 {
%cube = call <4 x float> @llvm.AMDGPU.cube(<4 x float> %abcx)
OpenPOWER on IntegriCloud