https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114989
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > So expand is usually fast. The only slow part I know of that might be > hitting here is division by constant where we are trying to find if it is > better to do multiplies or the division directly. Actually there is another slow part of expand I know of but since this is for x86_64, it will not hit it (ccmp with long chains can cause slow down due to trying to figure out which order is the best and it tries every possibility).