[clang] [llvm] Adding splitdouble HLSL function (PR #109331)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 27 22:56:39 PDT 2024
================
@@ -85,4 +85,9 @@ def int_dx_rsqrt : DefaultAttrsIntrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>]
def int_dx_wave_is_first_lane : DefaultAttrsIntrinsic<[llvm_i1_ty], [], [IntrConvergent]>;
def int_dx_sign : DefaultAttrsIntrinsic<[LLVMScalarOrSameVectorWidth<0, llvm_i32_ty>], [llvm_any_ty], [IntrNoMem]>;
def int_dx_step : DefaultAttrsIntrinsic<[LLVMMatchType<0>], [llvm_anyfloat_ty, LLVMMatchType<0>], [IntrNoMem]>;
+
+def int_dx_splitdouble : DefaultAttrsIntrinsic<
+ [llvm_anyvector_ty],
----------------
joaosaffran wrote:
This will create a struct with 2 vector elements. Is seems too complicated for the codegen. How would that type help the scalarizer?
https://github.com/llvm/llvm-project/pull/109331
More information about the llvm-commits
mailing list