[PATCH] D16659: AMDGPU: Implement known bits functions for min3/max3/med3
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 27 18:55:11 PST 2016
tstellarAMD added inline comments.
================
Comment at: test/CodeGen/AMDGPU/llvm.amdgcn.smed3.ll:14-17
@@ -13,1 +13,6 @@
+; GCN-LABEL: {{^}}test_smed3_num_sign_bits:
+; GCN: v_med3_i32 [[RESULT:v[0-9]+]], s{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}}
+; GCN-NEXT: buffer_store_dword [[RESULT]]
+define void @test_smed3_num_sign_bits(i32 addrspace(1)* %out, i32 %src0, i32 %src1, i32 zeroext %src2) #1 {
+
----------------
What exactly are these testing? Is it just checking for crashes?
http://reviews.llvm.org/D16659
More information about the llvm-commits
mailing list