mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 13:36:08 +00:00

Nest from being perfect 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. Reviewed By: Whitney Differential Revision: https://reviews.llvm.org/D107773