[all-commits] [llvm/llvm-project] 6b612a: [NFC][LoopInterchange] Explicitly pass both `Inner...

Ta-Wei Tu via All-commits all-commits at lists.llvm.org
Tue Feb 16 06:18:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b612a7baf8ef6ab775f5ae48b8ffc3b51e8e9a3
      https://github.com/llvm/llvm-project/commit/6b612a7baf8ef6ab775f5ae48b8ffc3b51e8e9a3
  Author: Ta-Wei Tu <tu.da.wei at gmail.com>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopInterchange.cpp
    M llvm/test/Transforms/LoopInterchange/interchange-flow-dep-outer.ll
    M llvm/test/Transforms/LoopInterchange/not-interchanged-loop-nest-3.ll

  Log Message:
  -----------
  [NFC][LoopInterchange] Explicitly pass both `InnerLoop` and `OuterLoop` to `processLoop`

This is a split patch of D96644.

Explicitly pass both `InnerLoop` and `OuterLoop` to function `processLoop` to remove the need to swap elements in loop list and allow making loop list an `ArrayRef`.
Also, fix inconsistent spellings of `OuterLoopId` and `Inner Loop Id` in debug log.

Reviewed By: fhahn

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




More information about the All-commits mailing list