-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
LLVM 6: Win32 inline assembly regression #2629
Comments
I'm getting errors like this one:
This is the same on both Win32 and Win64, have not tried to build for Linux or OSX. The project in question: https://github.com/ZILtoid1991/CPUblit |
@ZILtoid1991: That's a separate issue as that 5k lines asm monster errors out with the same errors for LDC 1.8 and LLVM 5.0.1. Please try to come up with a nice small testcase and file a new issue. |
@ZILtoid1991: See #2667 for that issue. |
Worked around in #2770. |
core.cpuid fails to build on Win32 with LLVM 6.0.0 and enabled optimizations, with symptoms of issue #2257.
I tried replacing that DMD-style inline asm with LLVM asm:
That makes it work with enabled optimizations, but debug druntime fails to compile with
inline assembly requires more registers than available
. That error vanishes when dropping all clobbers...What's strange is that it can apparently still be compiled fine for 32-bit Linux and OSX, the CircleCI multilib jobs with preliminary LLVM 6.0 are green.
The text was updated successfully, but these errors were encountered: