https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101024
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I have a start but there are a few patterns that need to be moved. An example is from gcc.dg/tree-ssa/pr66726-4.c: #define SAT(x) (x < 0 ? 0 : (x > 255 ? 255 : x)) void foo (unsigned char *p, int i) { *p = SAT (i); }