[all-commits] [llvm/llvm-project] 6a82ac: [LoopFusion] Bails out if only the second candidat...

Ta-Wei Tu via All-commits all-commits at lists.llvm.org
Mon Apr 5 10:09:14 PDT 2021


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

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopFuse.cpp
    A llvm/test/Transforms/LoopFusion/pr48060.ll

  Log Message:
  -----------
  [LoopFusion] Bails out if only the second candidate is guarded (PR48060)

If only the second candidate loop is guarded while the first one is not, fusioning
two loops might not be valid but this check is currently missing.

Fixes https://bugs.llvm.org/show_bug.cgi?id=48060

Reviewed By: sidbav

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




More information about the All-commits mailing list