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
Register coalescer introduces verifier error #27179
Comments
assigned to @MatzeB |
This is a reduced testcase from an OpenCV regression |
Is this new? |
The regression showed up in r251860, so I think this was uncovering a existing problem. |
I think this bug always existed, it only affects targets with acticated subregister liveness. We already had a longer IRC session analyzing it (just have to grep my logs when I start working on it), so I'll look into it. |
Sounds good. For the sake of future archeology ;), would you mind summarizing the content of the IRC discussion? |
Sorry I can't remember the details (intricate stuff in the rematerialization logic of the register coalescer). Once there is a fix it is hopefully clear that the problem was :) |
Fair enough :). |
Fixed in r262768 |
Extended Description
The XFAILed test in test/CodeGen/AMDGPU/reg-coalescer-sched-crash.ll is a
verifier error introduced by the register coalescer. I think it has something to do with rematerializing an instruction into a sub register when the super register isn't fully defined.
The text was updated successfully, but these errors were encountered: