-
Notifications
You must be signed in to change notification settings - Fork 13.3k
[aarch64] Unknown FP condition! #86917
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
@llvm/issue-subscribers-backend-aarch64 Author: None (DigOrDog)
# Description
The following code crashes aarch64 backend with "Unknown FP condition!"
Minimal Reproductionhttps://godbolt.org/z/7EeccGP3r Code; ModuleID = 'crash-4f3ab3a32f91d152361bae65ffeca42d2fa3e7b9'
source_filename = "M"
define float @<!-- -->f(i1 %0, i16 %1) {
BB:
%RP = alloca float, align 4
br label %BB2
BB2: ; preds = %BB2, %BB
%C2 = fcmp true float 4.200000e+01, 4.200000e+01
%B2 = and i1 %C2, %0
%2 = load float, ptr %RP, align 4
br i1 %B2, label %BB2, label %BB1
BB1: ; preds = %BB2
ret float %2
} Stack Trace
|
The switch in:
is missing support for FCMP_FALSE and FCMP_TRUE. |
I can confirm that this fixes the issue. Preparing a patch ... |
llvmbot
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
May 5, 2024
…tion (llvm#86972) Fixes llvm#86917 `FCMP_TRUE` and `FCMP_FALSE` were previously not considered and we ended up in an llvm_unreachable assertion. (cherry picked from commit c482fad)
marcauberer
added a commit
to marcauberer/llvm-project
that referenced
this issue
May 9, 2024
…tion (llvm#86972) Fixes llvm#86917 `FCMP_TRUE` and `FCMP_FALSE` were previously not considered and we ended up in an llvm_unreachable assertion.
tstellar
pushed a commit
to marcauberer/llvm-project
that referenced
this issue
May 9, 2024
…tion (llvm#86972) Fixes llvm#86917 `FCMP_TRUE` and `FCMP_FALSE` were previously not considered and we ended up in an llvm_unreachable assertion.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Description
The following code crashes aarch64 backend with "Unknown FP condition!"
Minimal Reproduction
https://godbolt.org/z/7EeccGP3r
Code
Stack Trace
The text was updated successfully, but these errors were encountered: