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
[X86][Disassembler] vpsubq (%esp), %xmm1, %xmm2 can not be decoded by LLVM's disassembler #54540
Comments
Ongoing patch: https://reviews.llvm.org/D122448 |
@llvm/issue-subscribers-backend-x86 |
Thanks for the clear example. The patch that you are reverting fixes an ICE-on-valid-C++ in clang that shows up when building Qt though, so we are in a lousy situation where something important is broken if we do revert, something else also important is broken if we don't. I cannot comment on the relative priorities, I do not know which is worse. I expect to have time over the weekend to look into whether this is easy to fix so that both work, is it okay to wait for that? |
@hvdijk Sure. Let me know if you need my help. I'm familiar w/ X86 encoding/decoding and able to provide a quick solution to support both of them. |
https://reviews.llvm.org/D122537 These two patches can fix both of them. |
Regardless of whether that would be enough, we cannot commit that as there is a conflict with another change (also of yours) that has gone in. I am working on resolving the conflict and I will submit a patch soon. I understand that you can resolve the conflict, but you know I'd already started work on this, please let me finish that. (Edit: while the expression of frustration was intended, reading back it looks like going beyond that to accusations. That wasn't what I was trying for. Sorry about that, I've edited.) |
Created https://reviews.llvm.org/D122540, tested with your https://reviews.llvm.org/D122449 applied on top. |
Thanks for the patience, the fix is now in on main. What would you prefer for the branches? The fix should not cherry-pick cleanly, so we can either decide to leave those as they are or make the required changes. I am fine with either, and can make those changes if you like. |
I work on the main branch most of the time, so I don't have any back-porting request. I think no more work is need until we receive a request. Thank you for the effort. |
The text was updated successfully, but these errors were encountered: