On Thu, Oct 13, 2022 at 5:15 AM Liwei Xu wrote:
>
> Add extra index check when merging VEC_CST, this handles the case when
> exactly op1 needs to be return.
>
> This fixes:
> FAIL: gcc.dg/tree-ssa/forwprop-19.c scan-tree-dump-not forwprop1
> "VEC_PERM_EXPR"
>
> gcc/ChangeLog:
>
>
Add extra index check when merging VEC_CST, this handles the case when exactly
op1 needs to be return.
This fixes:
FAIL: gcc.dg/tree-ssa/forwprop-19.c scan-tree-dump-not forwprop1
"VEC_PERM_EXPR"
gcc/ChangeLog:
PR target/107220
* match.pd: Check the index of VEC_CST and