-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Clang fails when building LLVM for RISCV #81088
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
Labels
Comments
@llvm/issue-subscribers-backend-risc-v Author: Yi Kong (kongy)
`fatal error: error in backend: Do not know how to split the result of this operator!`
Reduced reproducer attached. |
Looks like #66800 is missing a check for legal type. |
Possible fix
|
This fixes it on my end. And the combine kicks in again once the MGATHER has been split, so we end up with 2 v16i64 vlse64s from the one v32i64 it was crashing on. |
@lukel97 can you make a PR? |
This was referenced Feb 8, 2024
llvmbot
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Feb 13, 2024
llvm#81107) Otherwise we will crash since target intrinsics don't have their types legalized. Let the mgather get legalized first, then do the combine on the legal type. Fixes llvm#81088 Co-authored-by: Craig Topper <craig.topper@sifive.com> (cherry picked from commit 06c89bd)
llvmbot
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Feb 20, 2024
llvm#81107) Otherwise we will crash since target intrinsics don't have their types legalized. Let the mgather get legalized first, then do the combine on the legal type. Fixes llvm#81088 Co-authored-by: Craig Topper <craig.topper@sifive.com> (cherry picked from commit 06c89bd)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fatal error: error in backend: Do not know how to split the result of this operator!
Reduced reproducer attached.
reduce.zip
The text was updated successfully, but these errors were encountered: