Skip to content
Snippets Groups Projects
Commit 95564cf6 authored by Markus Holzer's avatar Markus Holzer
Browse files

Added better doc

parent 18007275
No related branches found
No related tags found
1 merge request!351[FIX] Alignement detection
......@@ -185,6 +185,9 @@ def vectorize_inner_loops_and_adapt_load_stores(ast_node, assume_aligned, nontem
# the access is aligned or not. None of the current sizeless vector ISAs (SVE and RISC-V-V)
# have separate load/store instructions for aligned and unaligned, so there is no disadvantage
# to falling back to unaligned here. When new ISAs become available, this may need to be revisited.
# On sized vector ISAs that do not have separate instructions for aligned and unaligned access,
# alignment does not matter here either
aligned_access = False
else:
aligned_access = (index - loop_counter_symbol).subs(zero_loop_counters) % vector_width == 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment