On Tue, 6 May 2025, andre.simoesdiasvie...@arm.com wrote:
>
> Prunes code from the trivial true/false conditions.
- gcc_assert (vec_num == 1 || 1);
+ gcc_assert (vec_num == 1);
that looks like a now stronger assert, pruning would have removed
the assert instead?
if (ncopies > 1
- &&
Prunes code from the trivial true/false conditions.
---
gcc/tree-vect-loop.cc | 540 --
1 file changed, 155 insertions(+), 385 deletions(-)
diff --git a/gcc/tree-vect-loop.cc b/gcc/tree-vect-loop.cc
index 69b692f1673..4ab7d227e42 100644
--- a/gcc/tree-vect