[llvm] [AMDGPU] Implement hasAndNot for scalar bitwise AND-NOT operations. (PR #112647)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 20:40:13 PDT 2024
================
@@ -25,6 +25,28 @@ entry:
ret void
}
+; GCN-LABEL: {{^}}scalar_andn2_i32_one_sgpr
+; GCN: s_andn2_b32
+define amdgpu_kernel void @scalar_andn2_i32_one_sgpr(
----------------
arsenm wrote:
better to use a shader calling convention and use the return value. the style of tests with the output pointer and a kernel is older and predates function support. kernels have a lot of extra noise in the output
https://github.com/llvm/llvm-project/pull/112647
More information about the llvm-commits
mailing list