[all-commits] [llvm/llvm-project] 760eea: [libclc] Reduce bithacking in CLC frexp (#129871)
Fraser Cormack via All-commits
all-commits at lists.llvm.org
Wed Mar 5 06:19:13 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 760eeac6a22e49a3100c530dd130a7202ae0a56b
https://github.com/llvm/llvm-project/commit/760eeac6a22e49a3100c530dd130a7202ae0a56b
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2025-03-05 (Wed, 05 Mar 2025)
Changed paths:
M libclc/clc/lib/generic/math/clc_frexp.cl
M libclc/clc/lib/generic/math/clc_frexp.inc
Log Message:
-----------
[libclc] Reduce bithacking in CLC frexp (#129871)
Also replace some magic constants with named ones.
Checking against FP zero and using isnan and isinf functions allows the
optimizer to create one unified @llvm.is.fpclass intrinsic. This results
in fewer more canonical IR instructions.
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