[clang] [llvm] [HLSL][DXIL] Implementation of round intrinsic (PR #83570)
S. Bharadwaj Yadavalli via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 1 08:13:30 PST 2024
================
@@ -220,6 +220,9 @@ def Sin : DXILOpMapping<13, unary, int_sin,
"Returns sine(theta) for theta in radians.">;
def UMax : DXILOpMapping<39, binary, int_umax,
"Unsigned integer maximum. UMax(a,b) = a > b ? a : b">;
+def Round : DXILOpMapping<26, unary, int_round,
----------------
bharadwajy wrote:
Please consider adding this before the `def UMax` to maintain a sorted order of opcode.
https://github.com/llvm/llvm-project/pull/83570
More information about the cfe-commits
mailing list