Skip to content

[libclc] Enable clang fp reciprocal in clc_native_divide/recip/rsqrt/tan#149269

Merged
wenju-he merged 2 commits into
llvm:mainfrom
wenju-he:libclc-native-fp-reciprocal-on
Jul 17, 2025
Merged

[libclc] Enable clang fp reciprocal in clc_native_divide/recip/rsqrt/tan#149269
wenju-he merged 2 commits into
llvm:mainfrom
wenju-he:libclc-native-fp-reciprocal-on

Conversation

@wenju-he

Copy link
Copy Markdown
Contributor

The pragma adds arcp flag to fdiv instruction in these functions. The flag can provide better performance.

…t/tan

The pragma adds `arcp` flag to `fdiv` instruction in these functions.
The flag can provide better performance.
@wenju-he wenju-he requested a review from frasercrmck July 17, 2025 08:04
@arsenm arsenm added the libclc libclc OpenCL library label Jul 17, 2025

@frasercrmck frasercrmck left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@wenju-he wenju-he merged commit cf36f49 into llvm:main Jul 17, 2025
10 checks passed
@wenju-he wenju-he deleted the libclc-native-fp-reciprocal-on branch July 17, 2025 23:54
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