-
Notifications
You must be signed in to change notification settings - Fork 14
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
arch/arm/lib/memmove.S:86:3: error: invalid instruction #857
Comments
@smithp35 confirmed that this seems to be a bug in LLVM/Clang. |
A small reproducer:
Test output:
|
Reported upstream: https://llvm.org/pr44858 |
Thanks for the reproducer. I'll look into a fix. |
My intuition, not confirmed, is that this could be an attempted match against the unsigned encoding T3 which wouldn't permit signed immediates. |
This issue has been tracked at https://llvm.org/pr43382. LLVM is confused by the ".w" suffix |
From what I understand it is a combination of the |
duping to #1296 |
Trying to use AS=clang and CONFIG_THUMB2_KERNEL=y leads to the following errors:
The text was updated successfully, but these errors were encountered: