Skip to content

Conversation

@frasercrmck
Copy link
Contributor

@frasercrmck frasercrmck commented Jan 29, 2025

Using the __builtin_elementwise_(add|sub)_sat functions allows us to directly optimize to the desired intrinsic, and avoid scalarization for vector types.

Using the __builtin_elementwise_(add|sub)_sat functions allows us to
directly optimize to the desired intrinsic, and avoid scalarization for
vector types.
@frasercrmck frasercrmck added the libclc libclc OpenCL library label Jan 29, 2025
@frasercrmck frasercrmck requested a review from arsenm January 29, 2025 10:51
@frasercrmck frasercrmck merged commit 12cdf43 into llvm:main Jan 29, 2025
10 checks passed
@frasercrmck frasercrmck deleted the libclc-clc-add-sub-sat branch January 29, 2025 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libclc libclc OpenCL library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants