Re: [PATCH 2/2] forwprop: Ensure that shuffle masks are VECTOR_CSTs

2025-01-15 Thread Richard Biener
On Wed, 15 Jan 2025, Christoph Müllner wrote: > As reported in PR118487, it is possible that the mask parameter > of a __builtin_shuffle() is not a VECTOR_CST. > If this is the case and checking is enabled then an ICE is triggered. > Let's add a check to fix this issue. OK. Thanks, Richard. >

[PATCH 2/2] forwprop: Ensure that shuffle masks are VECTOR_CSTs

2025-01-15 Thread Christoph Müllner
As reported in PR118487, it is possible that the mask parameter of a __builtin_shuffle() is not a VECTOR_CST. If this is the case and checking is enabled then an ICE is triggered. Let's add a check to fix this issue. PR tree-optimization/118487 gcc/ChangeLog: * tree-ssa-forwprop.