[all-commits] [llvm/llvm-project] faf183: [IndVars] LCSSA Phi users should not prevent widening

max-azul via All-commits all-commits at lists.llvm.org
Thu Nov 26 20:44:28 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: faf183874cb6f434815e2b1c0b59cd452219f89e
      https://github.com/llvm/llvm-project/commit/faf183874cb6f434815e2b1c0b59cd452219f89e
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2020-11-27 (Fri, 27 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
    M llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll

  Log Message:
  -----------
  [IndVars] LCSSA Phi users should not prevent widening

When widening an IndVar that has LCSSA Phi users outside
the loop, we can safely widen it as usual and then truncate
the result outside the loop without hurting the performance.

Differential Revision: https://reviews.llvm.org/D91593
Reviewed By: skatkov




More information about the All-commits mailing list