[all-commits] [llvm/llvm-project] 1ef043: [LoopInterchange] Support loop interchange with fl...

CongzheUalberta via All-commits all-commits at lists.llvm.org
Sun Feb 6 14:09:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ef04326ec5f634b29868b3900e42683a32d10b1
      https://github.com/llvm/llvm-project/commit/1ef04326ec5f634b29868b3900e42683a32d10b1
  Author: Congzhe Cao <congzhe.cao at huawei.com>
  Date:   2022-02-06 (Sun, 06 Feb 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopInterchange.cpp
    M llvm/test/Transforms/LoopInterchange/lcssa.ll
    M llvm/test/Transforms/LoopInterchange/reductions-across-inner-and-outer-loop.ll

  Log Message:
  -----------
  [LoopInterchange] Support loop interchange with floating point reductions

Enabled loop interchange support for floating point reductions
if it is allowed to reorder floating point operations.

Previously when we encouter a floating point PHI node in the
outer loop exit block, we bailed out since we could not detect
floating point reductions in the early days. Now we remove this
limiation since we are able to detect floating point reductions.

Reviewed By: #loopoptwg, Meinersbur

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




More information about the All-commits mailing list