[all-commits] [llvm/llvm-project] 01e64c: [LoopFusion] Update second loop guard non loop suc...

whitneywhtsang via All-commits all-commits at lists.llvm.org
Tue Jun 9 14:15:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 01e64c971260f6999d3365ac163f33da02c63534
      https://github.com/llvm/llvm-project/commit/01e64c971260f6999d3365ac163f33da02c63534
  Author: Whitney Tsang <whitneyt at ca.ibm.com>
  Date:   2020-06-09 (Tue, 09 Jun 2020)

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

  Log Message:
  -----------
  [LoopFusion] Update second loop guard non loop successor phis incoming
blocks.

Summary: The current LoopFusion forget to update the incoming block of
the phis in second loop guard non loop successor from second loop guard
block to first loop guard block. A test case is provided to better
understand the problem.
Reviewed By: jdoerfert
Subscribers: hiraditya, llvm-commits
Tag: LLVM
Differential Revision: https://reviews.llvm.org/D81421




More information about the All-commits mailing list