-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[AVR] crash on attiny85: cannot create long jump without FeatureJMPCALL #67042
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-bug
The following IR file crashes when compiled with llc-17:
This was introduced in https://reviews.llvm.org/D155570 (eb33db4). CC @jacquesguan @benshi001 |
These parts aren't critical and lead to crashes on small chips without long jumps (like the attiny85) with LLVM 17. (Older LLVM versions would emit long jumps regardless, even if the chip didn't support those). For more information, see: llvm/llvm-project#67042
These parts aren't critical and lead to crashes on small chips without long jumps (like the attiny85) with LLVM 17. (Older LLVM versions would emit long jumps regardless, even if the chip didn't support those). For more information, see: llvm/llvm-project#67042
Any news on this? |
This seems harder, I need more time to fix. I plan to use pseudo instructions something like
But the AVRExpandPseudo Pass runs before the BranchRelazation pass, so my way does not work. Do you have better solution for this? |
A better solution would be introducing "code model", like riscv did when |
These parts aren't critical and lead to crashes on small chips without long jumps (like the attiny85) with LLVM 17. (Older LLVM versions would emit long jumps regardless, even if the chip didn't support those). For more information, see: llvm/llvm-project#67042
These parts aren't critical and lead to crashes on small chips without long jumps (like the attiny85) with LLVM 17. (Older LLVM versions would emit long jumps regardless, even if the chip didn't support those). For more information, see: llvm/llvm-project#67042
These parts aren't critical and lead to crashes on small chips without long jumps (like the attiny85) with LLVM 17. (Older LLVM versions would emit long jumps regardless, even if the chip didn't support those). For more information, see: llvm/llvm-project#67042
The following IR file crashes when compiled with llc-17:
crash.zip
This was introduced in https://reviews.llvm.org/D155570 (eb33db4).
CC @jacquesguan @benshi001
The text was updated successfully, but these errors were encountered: