[all-commits] [llvm/llvm-project] 4c77d0: [Delinearization] Refactoring of fixed-size array ...
CongzheUalberta via All-commits
all-commits at lists.llvm.org
Thu Jun 16 13:09:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c77d0276b8351e533888c8e0c4e4df0277c583f
https://github.com/llvm/llvm-project/commit/4c77d0276b8351e533888c8e0c4e4df0277c583f
Author: Congzhe Cao <congzhe.cao at huawei.com>
Date: 2022-06-16 (Thu, 16 Jun 2022)
Changed paths:
M llvm/include/llvm/Analysis/Delinearization.h
M llvm/include/llvm/Analysis/DependenceAnalysis.h
M llvm/include/llvm/Analysis/LoopCacheAnalysis.h
M llvm/lib/Analysis/Delinearization.cpp
M llvm/lib/Analysis/DependenceAnalysis.cpp
M llvm/lib/Analysis/LoopCacheAnalysis.cpp
Log Message:
-----------
[Delinearization] Refactoring of fixed-size array delinearization
This is a follow-up patch to D122857 where we added delinearization of
fixed-size arrays to loop cache analysis, which resulted in some duplicate
code, i.e., "tryDelinearizeFixedSize()", in LoopCacheCost.cpp and
DependenceAnalysis.cpp. Refactoring is done in this patch.
This patch refactors out the main logic of "tryDelinearizeFixedSize()" as
"tryDelinearizeFixedSizeImpl()" and moves it to Delinearization.cpp, such that
clients can reuse "llvm::tryDelinearizeFixedSizeImpl()" wherever they would
like to delinearize fixed-size arrays. Currently it has two users, i.e.,
DependenceAnalysis.cpp and LoopCacheCost.cpp.
Reviewed By: Meinersbur, #loopoptwg
Differential Revision: https://reviews.llvm.org/D124745
More information about the All-commits
mailing list