Not sure how to produce a test that demonstrates the problem
today. The coalescer would have to introduce a verifier caught SSA
violation, like multiple defs of a virtual register. I'm not sure what
would do that now, but an upcoming patch will.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
FWIW: There is a getClearedProperties() API that you can implement for a pass to get things cleared too. Though I remember that I personally always found that API a bit artificial as you can also just clear the bits within the pass as you do here. So no complaints about this patch from my side :)
Comment Actions
Right I tried that first, but that’s a post-pass adjustment. I could try moving it before
Comment Actions
Right I tried that first, but that’s a post-pass adjustment. I could try moving it before
I remember proposing to just not have the getClearedProperties API in code-review but people didn't like that. Either way I'm fine with the change as-is.