[clang] [llvm] [SPIRV][HLSL] map lerp to Fmix (PR #88976)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 09:40:21 PDT 2024


================
@@ -58,4 +58,6 @@ let TargetPrefix = "spv" in {
       Intrinsic<[ llvm_ptr_ty ], [llvm_i8_ty], [IntrWillReturn]>;
   def int_spv_all : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_any_ty]>;
   def int_spv_any : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_any_ty]>;
+  def int_spv_lerp : Intrinsic<[LLVMMatchType<0>], [llvm_anyfloat_ty, LLVMMatchType<0>,LLVMMatchType<0>], 
----------------
farzonl wrote:

Have not heard on documentation requirements so going to merge and track this work separately. 

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


More information about the llvm-commits mailing list