https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125442
--- Comment #10 from Drea Pinski <pinskia at gcc dot gnu.org> --- (In reply to Souradipto Das from comment #9) > Created attachment 64568 [details] > v3 patch: Optimizes pattern by capturing and returning the entire comparison > subtree node (neeq@2) directly > > Thanks for the guidance, Andrew! > > I've attached a v3 patch that updates the pattern to capture the comparison > node directly (`neeq@2`) and forward it, bypassing the need to reconstruct > the expression tree. > > Verified locally on x86_64-pc-linux-gnu; the testsuite still passes cleanly > with all 5 expected passes. Let me know if this looks good. Yes it looks good, just need a changelog and a commit message and sent to gcc-patches@. See https://gcc.gnu.org/contribute.html for more information on that.
