[all-commits] [llvm/llvm-project] a58b6a: [NFC][LoopInterchange] Clean up of irrelevent depe...

ram-NK via All-commits all-commits at lists.llvm.org
Tue Oct 4 11:55:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a58b6acf1f369141603cb58171bcd642eb6ee732
      https://github.com/llvm/llvm-project/commit/a58b6acf1f369141603cb58171bcd642eb6ee732
  Author: Ram-NK <ramkrishnan.narayanan.komala at huawei.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

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

  Log Message:
  -----------
  [NFC][LoopInterchange] Clean up of irrelevent dependency checking with
isOuterMostDepPositive()

The function isOuterMostDepPositive() is checked after negative dependence
vectors are normalized to be non-negative, so there will not be any negative
dependency ('>' as the outermost non-equal sign) after normalization. And
therefore the check in isOuterMostDepPositive() is irrelevent and redundant.

Reviewed By: congzhe

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




More information about the All-commits mailing list