Commit 2383ed1
tree-optimization/117698 - SLP vectorization and alignment
When SLP vectorizing we fail to mark the general alignment check
as irrelevant when using VMAT_STRIDED_SLP (the implementation checks
for itself) and when VMAT_INVARIANT the override isn't effective.
This results in extra FAILs on sparc which the following fixes.
PR tree-optimization/117698
* tree-vect-stmts.cc (get_group_load_store_type): Properly
disregard alignment for VMAT_STRIDED_SLP and VMAT_INVARIANT.
(vectorizable_load): Adjust guard for dumping whether we
vectorize and unaligned access.
(vectorizable_store): Likewise.1 parent 16cf1c0 commit 2383ed1
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2121 | 2121 | | |
2122 | 2122 | | |
2123 | 2123 | | |
2124 | | - | |
2125 | | - | |
2126 | | - | |
2127 | 2124 | | |
2128 | 2125 | | |
2129 | 2126 | | |
| |||
2379 | 2376 | | |
2380 | 2377 | | |
2381 | 2378 | | |
2382 | | - | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
2383 | 2382 | | |
2384 | 2383 | | |
2385 | 2384 | | |
| |||
8497 | 8496 | | |
8498 | 8497 | | |
8499 | 8498 | | |
| 8499 | + | |
| 8500 | + | |
8500 | 8501 | | |
8501 | 8502 | | |
8502 | 8503 | | |
| |||
10410 | 10411 | | |
10411 | 10412 | | |
10412 | 10413 | | |
| 10414 | + | |
| 10415 | + | |
10413 | 10416 | | |
10414 | 10417 | | |
10415 | 10418 | | |
| |||
0 commit comments