llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[Loop Vectorizer] __builtin_assume_separate_storage is not propagated to LV AA

Open komalon1 opened this issue 3 years ago • 0 comments

See reproducer in https://godbolt.org/z/c7ea3b85Y Adding restrict to the function parameters makes vectorization safe. Using __builtin_assume_separate_storage(a1, a2); should provide the same information as the restrict in this case, yet the loop is not vectorized.

komalon1 avatar Aug 14 '23 06:08 komalon1