https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100053
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 50581 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50581&action=edit improved fix to avoid regressions This variant of the fix avoids regressing predication in the cases that work OK and adds a testcase for one such case. I filed PR100063 for the general weakness of predicate handling in VN.