[llvm] [DirectX] Add support to lower LLVM intrinsics ceil, cos, fabs, and floor to DXIL Ops. (PR #80350)

Xiang Li via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 14:19:16 PST 2024


================
@@ -86,57 +106,85 @@ class dxil_op<string name, int code_id, dxil_class code_class, dxil_category op_
   let stats_group = _stats_group;
 }
 
-// The intrinsic which map directly to this dxil op.
+class dxil_op_min<string _name, int code_id, string _doc> : dxil_inst {
----------------
python3kgae wrote:

dxil_op_min is confusing. Feels like only for the min operation.

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


More information about the llvm-commits mailing list