-
Notifications
You must be signed in to change notification settings - Fork 244
Add translation for Intrinsic::{atan,acos,asin,cosh,sinh,tanh} #2657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add translation for atan, acos, asin, cosh, sinh and tanh LLVM intrinsics which are mapped to corresponding OpenCL extended instructions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! Lets also add these intrinsics to the list within getNativeBuiltinIdForIntrinsic function in SPIRVWriter, so when an intrinsic has afn fast-math flag it would be mapped on a native OpenCL builtin, see 6417ada
Are there native versions for these OpenCL builtins? It seems to me there aren't. |
Restarting CI with the new HEAD |
Merging, will get approve from Sven offline if necessary |
Thanks for the review and merging! |
…osGroup#2657) Add translation for atan, acos, asin, cosh, sinh and tanh LLVM intrinsics which are mapped to corresponding OpenCL extended instructions.
#2669) Add translation for atan, acos, asin, cosh, sinh and tanh LLVM intrinsics which are mapped to corresponding OpenCL extended instructions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after the fact. :)
Add translation for atan, acos, asin, cosh, sinh and tanh LLVM intrinsics which are mapped to corresponding OpenCL extended instructions.