[clang] [HLSL][LongVec] enable support for all elementwise apis (PR #216905)

Joshua Batista via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 20 10:49:25 PDT 2026


================
@@ -37,3 +37,21 @@ void test_vector4(float4 Buf) {
   // SPIRV-NEXT: br label %[[ENDL]]
   clip(Buf);
 }
+
+void test_vector5(vector<float, 5> Buf) {
----------------
bob80905 wrote:

nit: name should be test_clip_vector5
Also, dont we just need the check for call i1 ...any.v5i1? I see there are plenty of checks above but I wonder if theyre needed.

https://github.com/llvm/llvm-project/pull/216905


More information about the cfe-commits mailing list