[all-commits] [llvm/llvm-project] 54cb55: [LoopInterchange] Form LCSSA phis for values in or...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Aug 10 03:34:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 54cb552b962097d0e3ef7306b69a3c82cc7fff37
      https://github.com/llvm/llvm-project/commit/54cb552b962097d0e3ef7306b69a3c82cc7fff37
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-08-10 (Mon, 10 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopInterchange.cpp
    M llvm/test/Transforms/LoopInterchange/lcssa-preheader.ll

  Log Message:
  -----------
  [LoopInterchange] Form LCSSA phis for values in orig outer loop header.

Values defined in the outer loop header could be used in the inner loop
latch. In that case, we need to create LCSSA phis for them, because after
interchanging they will be defined in the new inner loop and used in the
new outer loop.




More information about the All-commits mailing list