https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85605
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|x86_64-*-*, i?86-*-*, arm |x86_64-*-*, i?86-*-*, arm, | |aarch64*-*-* Component|rtl-optimization |tree-optimization --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There might be a duplicate of this bug already but: CMP1 ? true : CMP2; Can be transformed into: CMP1 | CMP2 This needs PHIOPT to do the optimization, either via match or manually.