[llvm] r249087 - AMDGPU: Move SIFixSGPRLiveRanges to be a regalloc pass

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 17:45:23 PDT 2015


> On Oct 7, 2015, at 5:39 PM, Justin Bogner via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> So SIFixSGPRLiveRanges is causing machine verifier errors after this
> commit, but we aren't seeing them because this also accidentally
> disabled the running the verifier after the pass, because it turns out
> `insertPass` doesn't schedule verification!

This was intentional. For reasons I don’t fully understand/remember, everything in addOptimizedRegAlloc before RegisterCoalescer must disable the verifier. This is inserted between two other passes that also disable the verifier, so I think it’s supposed to be disabled.

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151007/bf0cf196/attachment.html>


More information about the llvm-commits mailing list