[PATCH] D107773: LoopNest Analysis expansion to return instructions that prevent a Loop Nest from being perfect
Mark Danial via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 9 11:01:13 PDT 2021
madanial created this revision.
madanial added a reviewer: Whitney.
madanial added a project: LLVM.
Herald added a subscriber: hiraditya.
madanial requested review of this revision.
Herald added a subscriber: llvm-commits.
Expand LoopNestAnalysis to return the full list of instructions that cause a loop nest to be imperfect. This is useful for other passes to know if they should continue for in the inner loops.
Added New function
getInterveningInstructions
``` that returns a small vector with the instructions that prevent a loop for being perfect. Also added a couple of helper functions to reduce code duplication.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D107773
Files:
llvm/include/llvm/Analysis/LoopNestAnalysis.h
llvm/lib/Analysis/LoopNestAnalysis.cpp
llvm/unittests/Analysis/LoopNestTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107773.365221.patch
Type: text/x-patch
Size: 15813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210809/0999aa06/attachment.bin>
More information about the llvm-commits
mailing list