forwprop: Use lhs type instead of arg0 in folding VEC_PERM_EXPR.
commit4c3231302577445417715a7c22e879e4159376d3
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Tue, 19 Jul 2022 12:13:26 +0000 (19 17:43 +0530)
committerPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Tue, 19 Jul 2022 12:15:41 +0000 (19 17:45 +0530)
treeb4a3d1667f27c7010e775e74e572776773d8dc06
parentf082bc79c104aa308cd4acca5bf3adffd46da355
forwprop: Use lhs type instead of arg0 in folding VEC_PERM_EXPR.

gcc/ChangeLog:

* tree-ssa-forwprop.cc (simplify_permutation): Use lhs type
instead of TREE_TYPE (arg0) as result type in folding VEC_PERM_EXPR.
gcc/tree-ssa-forwprop.cc