[llvm] [DirectX][DXIL] Distinguish return type for overload type resolution. (PR #85646)
Farzon Lotfi via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 18 11:06:54 PDT 2024
================
@@ -255,6 +255,9 @@ class DXILOpMapping<int opCode, DXILOpClass opClass,
}
// Concrete definition of DXIL Operation mapping to corresponding LLVM intrinsic
+def IsInf : DXILOpMapping<9, isSpecialFloat, int_dx_isinf,
+ "Determines if the specified value is infinite.",
+ [llvm_i1_ty, llvm_halforfloat_ty]>;
----------------
farzonl wrote:
Is it ok that these are scalar types? isInf returns a bool vector if the input is a float or half vector. Will we eventually have to expand type here to indicate we may be a scalar or vector?
https://github.com/llvm/llvm-project/pull/85646
More information about the llvm-commits
mailing list