[llvm] [DXIL] Add frac unary lowering (PR #83465)
S. Bharadwaj Yadavalli via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 29 11:14:14 PST 2024
================
@@ -233,3 +233,6 @@ def FlattenedThreadIdInGroup : DXILOpMapping<96, flattenedThreadIdInGroup,
"Provides a flattened index for a "
"given thread within a given "
"group (SV_GroupIndex)">;
+def Frac : DXILOpMapping<22, unary, int_dx_frac,
----------------
bharadwajy wrote:
Would be good to keep the records sorted by opcode number. So, consider moving this to be between `Sin` and `UMax`.
https://github.com/llvm/llvm-project/pull/83465
More information about the llvm-commits
mailing list