[all-commits] [llvm/llvm-project] cd5833: [LoopInterchange] Refactor and rewrite validDepInt...

MengXuan Cai via All-commits all-commits at lists.llvm.org
Thu Nov 17 10:41:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd58333a62142d47c8571eacc07685251c5a0825
      https://github.com/llvm/llvm-project/commit/cd58333a62142d47c8571eacc07685251c5a0825
  Author: Mengxuan Cai <mengxuan.cai at huawei.com>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopInterchange.cpp

  Log Message:
  -----------
  [LoopInterchange] Refactor and rewrite validDepInterchange()

The current code of validDepInterchange() enumerates cases that are
legal for interchange. This could be simplified by checking
lexicographically order of the swapped direction matrix.

Reviewed By: congzhe, Meinersbur, bmahjour

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




More information about the All-commits mailing list