[all-commits] [llvm/llvm-project] cb6b9d: [LoopNest] Add new utilites

whitneywhtsang via All-commits all-commits at lists.llvm.org
Thu Jan 13 14:19:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb6b9d3ae2cb56a3bb64f03756cf0b5c5fd031bf
      https://github.com/llvm/llvm-project/commit/cb6b9d3ae2cb56a3bb64f03756cf0b5c5fd031bf
  Author: Whitney Tsang <whitneyt at ca.ibm.com>
  Date:   2022-01-13 (Thu, 13 Jan 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopNestAnalysis.h
    M llvm/unittests/Analysis/LoopNestTest.cpp

  Log Message:
  -----------
  [LoopNest] Add new utilites

getLoopIndex() is added to get the loop index of a given loop.
getLoopsAtDepth() is added to get the loops in the nest at a given
depth.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D115590




More information about the All-commits mailing list