Skip to content
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

[arm] Do not know how to soften llvm.{min,max}imum.{f32,f64} result #64205

Open
Urgau opened this issue Jul 28, 2023 · 2 comments
Open

[arm] Do not know how to soften llvm.{min,max}imum.{f32,f64} result #64205

Urgau opened this issue Jul 28, 2023 · 2 comments

Comments

@Urgau
Copy link

Urgau commented Jul 28, 2023

It seems that none of these intrinsics are currently working on arm (but DO WORK on armv7 and aarch64):

  • llvm.minimum.f32
  • llvm.minimum.f64
  • llvm.maximum.f32
  • llvm.maximum.f64

Error output [godbolt]:

LLVM ERROR: Do not know how to soften the result of this operator!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /opt/compiler-explorer/clang-trunk/bin/llc -o /app/output.s -x86-asm-syntax=intel <source>
1.	Running pass 'Function Pass Manager' on module '<source>'.
2.	Running pass 'ARM Instruction Selection' on function '@_ZN1a4test17hb60f9f6975710eeaE'

Similar to #53353 which was for x86_64

@llvmbot
Copy link
Member

llvmbot commented Jul 28, 2023

@llvm/issue-subscribers-backend-arm

@0x59616e
Copy link
Contributor

ping. Any progress on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants