Skip to content

Conversation

@frasercrmck
Copy link
Contributor

Using the elementwise builtin optimizes the vector case; instead of scalarizing we can compile directly to the vector intrinsics.

Using the elementwise builtin optimizes the vector case; instead of
scalarizing we can compile directly to the vector intrinsics.
@frasercrmck frasercrmck requested a review from wenju-he August 20, 2025 13:36
@frasercrmck frasercrmck added the libclc libclc OpenCL library label Aug 20, 2025
Copy link

@piotrrak piotrrak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, LGTM

@piotrrak
Copy link

Follow up to #131995

Copy link
Contributor

@wenju-he wenju-he left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@frasercrmck frasercrmck merged commit 5c411b3 into llvm:main Aug 21, 2025
11 checks passed
@frasercrmck frasercrmck deleted the libclc-clc-clz-builtin branch August 21, 2025 08:32
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.

3 participants