-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Emit an error if trying to use Intel syntax asm! with an old LLVM #83889
Conversation
asm! with Intel syntax requires LLVM 10.0.1.
We no longer support llvm <10 and IMO we should bump the minimum to 10.0.1
instead of adding a check like this.
…On Mon, 5 Apr 2021, 16:33 Rust highfive robot, ***@***.***> wrote:
Assigned #83889 <#83889> to @nagisa
<https://github.com/nagisa>.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#83889 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFFZUTOZFLOFGEZOCZTVBLTHG33JANCNFSM42M2C5EA>
.
|
Unfortunately many LTS distros use LLVM 10.0.0 instead of 10.0.1: https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=llvm-10-dev |
I marked the asm tests with |
I meant these changes. |
I double-checked, apparently it's just https://reviews.llvm.org/D78977 that's missing from LLVM 10.0.0, which breaks the use of SSE registers as asm operands. This breaks some of our tests, but likely won't affect anyone using |
So it turns out this PR is wrong: the issue is completely unrelated to intel vs att syntax. I think it's fine to just leave it without an error for now considering how rarely SSE parameters are used. |
The job Click to see the possible cause of the failure (guessed by this bot)
|
asm! with Intel syntax requires LLVM 10.0.1.
cc #76738
r? @nagisa