aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2025-01-28 16:23:52 +0000
committerGitHub <noreply@github.com>2025-01-28 16:23:52 +0000
commita8c82d5fde1dab47a1a3fe27bb8ced8f0eb33ab9 (patch)
treed34b1dc7de7c0bce1a3ed279f995bf1b5ad49328 /llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
parent8ce0d05b88f3369ba99866195f587a58a2d75f4c (diff)
downloadllvm-a8c82d5fde1dab47a1a3fe27bb8ced8f0eb33ab9.zip
llvm-a8c82d5fde1dab47a1a3fe27bb8ced8f0eb33ab9.tar.gz
llvm-a8c82d5fde1dab47a1a3fe27bb8ced8f0eb33ab9.tar.bz2
[libclc] Optimize isfpclass-like CLC builtins (#124145)
The builtins we were using to implement __clc_is(finite|inf|nan|normal) -- __builtin_isfinite, etc. -- don't take vector types so we were previously scalarizing. The __builtin_isfpclass builtin does take vector types and thus allows us to keep things in vectors. There is no change in codegen to the scalar versions of any of these builtins.
Diffstat (limited to 'llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions