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
matching inline asm constraints with memory not implemented #1505
Comments
*** Bug llvm/llvm-bugzilla-archive#1490 has been marked as a duplicate of this bug. *** |
*** Bug llvm/llvm-bugzilla-archive#1640 has been marked as a duplicate of this bug. *** |
Probably not that useful to comment, but I just ran into this attempting to compile ffmpeg. |
Eli, can you include the C source for the inline asm expression that causes the problem? |
code from ffmpeg |
Filed Bug 2019... we can work out what's going on with this testcase there. |
Reduced testcase here: int pixels; void test() { llvm-gcc rejects the former, but is fine with the later. |
Hmm, so it is actually this bug... I guess that makes bug 2019 a clang bug. |
Patch |
Your patch looks great to me, applied: Thanks Eli! |
mentioned in issue llvm/llvm-bugzilla-archive#1490 |
mentioned in issue llvm/llvm-bugzilla-archive#1640 |
mentioned in issue llvm/llvm-bugzilla-archive#1682 |
mentioned in issue #1234 |
Extended Description
the attched reduction is from code that passes regular gcc.
llc: SelectionDAGISel.cpp:2622: void
llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallInst&): Assertion `(NumOps
& 7) == 2 && "Skipped past definitions?"' failed.
The text was updated successfully, but these errors were encountered: