[clang] [llvm] [HLSL] implementation of lerp intrinsic (PR #83077)
Xiang Li via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 26 15:45:45 PST 2024
================
@@ -24,4 +24,9 @@ def int_dx_dot :
Intrinsic<[LLVMVectorElementType<0>],
[llvm_anyvector_ty, LLVMScalarOrSameVectorWidth<0, LLVMVectorElementType<0>>],
[IntrNoMem, IntrWillReturn, Commutative] >;
+
+def int_dx_lerp :
+ Intrinsic<[LLVMMatchType<0>],
+ [llvm_anyvector_ty, LLVMMatchType<0>, LLVMMatchType<0>],
----------------
python3kgae wrote:
Should it be LLVMScalarOrSameVectorWidth<0, LLVMVectorElementType<0>> like dot?
https://github.com/llvm/llvm-project/pull/83077
More information about the cfe-commits
mailing list