The "Sink casts to unravel first order recurrence" optimization of r306884 interferes with optimizing VPWidenRecipes for intervals of Instructions. Make sure the LastWidenRecipe we're attempting to extend is indeed the last recipe, covering the previous Instruction; otherwise extending it will effectively hoist the current Instruction, which may un-sink such a cast.
Details
Details
Diff Detail
Diff Detail