Re: RFR: 8342662: C2: Add new phase for backend-specific lowering [v3]

2024-10-29 Thread Jasmine Karthikeyan
On Mon, 28 Oct 2024 04:55:37 GMT, Quan Anh Mai wrote: >> Ah, I see what you mean now. I think this makes extending IGVN more >> appealing because we could continue to do Ideal on lowered nodes, as you >> mentioned. We could override `PhaseGVN::apply_ideal` to return `nullptr` >> when processin

Re: RFR: 8342662: C2: Add new phase for backend-specific lowering [v3]

2024-10-29 Thread Jasmine Karthikeyan
> Hi all, > This patch adds a new pass to consolidate lowering of complex > backend-specific code patterns, such as `MacroLogicV` and the optimization > proposed by #21244. Moving these optimizations to backend code can simplify > shared code, while also making it easier to develop more in-depth