[all-commits] [llvm/llvm-project] a8c82d: [libclc] Optimize isfpclass-like CLC builtins (#12...
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Tue Jan 28 08:24:14 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a8c82d5fde1dab47a1a3fe27bb8ced8f0eb33ab9
https://github.com/llvm/llvm-project/commit/a8c82d5fde1dab47a1a3fe27bb8ced8f0eb33ab9
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2025-01-28 (Tue, 28 Jan 2025)
Changed paths:
M libclc/clc/include/clc/relational/relational.h
M libclc/clc/lib/generic/relational/clc_isfinite.cl
M libclc/clc/lib/generic/relational/clc_isinf.cl
M libclc/clc/lib/generic/relational/clc_isnan.cl
M libclc/clc/lib/generic/relational/clc_isnormal.cl
M libclc/clc/lib/generic/relational/clc_signbit.cl
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list