You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This IR is a slight simplification of the IR generated by a C-like LLVM frontend, built with this LLVM fork, branch riscv-trunk (latest commit, cd5b77c). If a fix cannot be provided in a timely fashion, workarounds would be appreciated too.
The text was updated successfully, but these errors were encountered:
I had the same problem.
As I understood the issue marking functions as no-omit-framepointer should help.
Anyway attached patch helped me. no_reg_class_found.diff.txt
@nnlight Thanks. I applied the patch and it didn't help me (maybe I botched it, I'm using a non-C frontend so the build steps are a bit more complicated). But the bit about the frame pointer (-disable-fp-elim) did help! Thanks!
The following LLVM IR doesn't compile to RISC-V assembly, due to an assertion failure:
The same error still happens when we simplify the auto generated clang/llvm call to:
This IR is a slight simplification of the IR generated by a C-like LLVM frontend, built with this LLVM fork, branch riscv-trunk (latest commit, cd5b77c). If a fix cannot be provided in a timely fashion, workarounds would be appreciated too.
The text was updated successfully, but these errors were encountered: