aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorJoshua Batista <jbatista@microsoft.com>2022-12-08 13:03:47 -0800
committerJoshua Batista <jbatista@microsoft.com>2022-12-08 15:41:54 -0800
commit500e72924305c4a1fac2ffd45b16114d49c3a7d2 (patch)
tree9e40f51275eff3c81a8fff4810609173002c442b /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parentfaa75f94f113f2e912a672afcd611ecc79942e6a (diff)
downloadllvm-500e72924305c4a1fac2ffd45b16114d49c3a7d2.zip
llvm-500e72924305c4a1fac2ffd45b16114d49c3a7d2.tar.gz
llvm-500e72924305c4a1fac2ffd45b16114d49c3a7d2.tar.bz2
add floor library function
This change exposes the floor library function for HLSL, excluding long, int, and long long doubles. Floor is supported for all scalar, vector, and matrix types. Long and long long double support is missing in this patch because those types don't exist in HLSL. Int is missing because the floor function only works on floating type arguments. The full documentation of the HLSL floor function is available here: https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-floor Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D139137
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions