-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[PowerPC] Cannot select llvm.{min,max}imum.{f32,f64} #64209
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
Comments
@llvm/issue-subscribers-backend-powerpc |
These are intrinsics that get lowered to SDAG nodes for which there is no default expansion or libcall. Each back end must handle them appropriately. |
My use case comes from trying to implement the IEEE 754-2019 As for specifically needing the PowerPC backend to support this, it's because |
I once had a patch for But I did not have an ideal test case to ensure whether the 'Java semantics' conforms |
I really think we should implement these in a subtarget-independent way. We should emit the necessary code to do the comparison and to propagate NaN's as the semantics require. It may be slow on subtargets that don't have the instructions that just do the right thing, but it will at least work. |
arm64 supports Anyway, x86 lowers it customly, we can do it in a similar way. |
@llvm/issue-subscribers-backend-arm Author: None (Urgau)
It seems that none of these intrinsics are currently working on PowerPC:
Error output [godbolt]:
Similar to #53353 which was for x86_64 |
It seems that none of these intrinsics are currently working on PowerPC:
Error output [godbolt]:
Similar to #53353 which was for x86_64
The text was updated successfully, but these errors were encountered: