[PATCH] D147542: WIP [llvm] Allow strided acceses to be grouped together for memory checks in loop accesses analysis
Sacha Ballantyne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 09:20:41 PDT 2023
SBallantyne created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
SBallantyne requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.
This patch changes the groupChecks method to allow strided loop access over the same object to be grouped together.
This is targeting a particular issue from flang where certain loops would generate unneeded memory checks that lead to the generated vectorised code to never be taken, resulting in heavy performance losses.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D147542
Files:
llvm/include/llvm/Analysis/LoopAccessAnalysis.h
llvm/lib/Analysis/LoopAccessAnalysis.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147542.510837.patch
Type: text/x-patch
Size: 6270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230404/bcef42e8/attachment.bin>
More information about the llvm-commits
mailing list