[all-commits] [llvm/llvm-project] 1ee932: [LoopInterchange] Only skip PHIs with incoming val...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Nov 12 02:32:56 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ee93240c02b0fd505a539691d58565376f8acdf
      https://github.com/llvm/llvm-project/commit/1ee93240c02b0fd505a539691d58565376f8acdf
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopInterchange.cpp
    A llvm/test/Transforms/LoopInterchange/pr43797-lcssa-for-multiple-outer-loop-blocks.ll

  Log Message:
  -----------
  [LoopInterchange] Only skip PHIs with incoming values from the inner loop.

Currently we have limited support for outer loops with multiple basic
blocks after the inner loop exit. But the current checks for creating
PHIs for loop exit values only assumes the header and latches of the
outer loop. It is better to just skip incoming values defined in the
original inner loops. Those are handled earlier.

Reviewers: efriedma, mcrosier

Reviewed By: efriedma

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




More information about the All-commits mailing list