aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorS. Bharadwaj Yadavalli <Bharadwaj.Yadavalli@microsoft.com>2024-08-20 12:46:33 -0400
committerGitHub <noreply@github.com>2024-08-20 12:46:33 -0400
commit6a38e19c92ed09eeecb70d5f61c3b822acb4964d (patch)
tree3bab697428885997efd2afeb678638666e4bf679 /llvm/lib/Object/MachOObjectFile.cpp
parent514481736cf943464125ef34570a7df0a19290de (diff)
downloadllvm-6a38e19c92ed09eeecb70d5f61c3b822acb4964d.zip
llvm-6a38e19c92ed09eeecb70d5f61c3b822acb4964d.tar.gz
llvm-6a38e19c92ed09eeecb70d5f61c3b822acb4964d.tar.bz2
[HLSL] Implement support for HLSL intrinsic - saturate (#104619)
Implement support for HLSL intrinsic saturate. Implement DXIL codegen for the intrinsic saturate by lowering it to DXIL Op dx.saturate. Implement SPIRV codegen by transforming saturate(x) to clamp(x, 0.0f, 1.0f). Add tests for DXIL and SPIRV CodeGen.
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions