[all-commits] [llvm/llvm-project] 3c5e0d: [LoopVectorize] Clear cache of `LoopAccessInfoMana...
Miguel Saldivar via All-commits
all-commits at lists.llvm.org
Wed Jan 11 01:04:13 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3c5e0d87f80efa8068a58768514d916d9dc03f3d
https://github.com/llvm/llvm-project/commit/3c5e0d87f80efa8068a58768514d916d9dc03f3d
Author: Miguel Saldivar <saldivarcher at gmail.com>
Date: 2023-01-11 (Wed, 11 Jan 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Transforms/LoopVectorize/pr59319-loop-access-info-invalidation.ll
Log Message:
-----------
[LoopVectorize] Clear cache of `LoopAccessInfoManager`
LAI is cached during the LoopDistribute pass, and is later re-used during LoopVectorize. The problem is that LoopVectorize changes SCEV, and the cached LAI does not get updated. Hence, when re-using the cached LAI, it references an invalid SCEV.
Fixes #59319
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D139601
More information about the All-commits
mailing list