[all-commits] [llvm/llvm-project] ea6ca9: [LV] Fix crash when stride isn't a constant.
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Jun 14 08:53:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea6ca9cb2b6cfcc8ad9f6547bee47936fd2c63ea
https://github.com/llvm/llvm-project/commit/ea6ca9cb2b6cfcc8ad9f6547bee47936fd2c63ea
Author: Florian Hahn <flo at fhahn.com>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Transforms/LoopVectorize/strided-accesses-interleave-only.ll
Log Message:
-----------
[LV] Fix crash when stride isn't a constant.
In same cases, the stride may not be a constant. Just skip those cases
for now. This should only happen for cases where LV interleaves only, if
it is vectorized the stride needs to be versioned to a constant.
More information about the All-commits
mailing list