[all-commits] [llvm/llvm-project] 2ef479: [LoopFlatten] Run it earlier, just before IndVarSi...

sjoerdmeijer via All-commits all-commits at lists.llvm.org
Tue Nov 10 12:35:13 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ef47910d5a14307e48419b02a67c453c179032f
      https://github.com/llvm/llvm-project/commit/2ef47910d5a14307e48419b02a67c453c179032f
  Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Transforms/IPO/PassManagerBuilder.cpp

  Log Message:
  -----------
  [LoopFlatten] Run it earlier, just before IndVarSimplify

This is a prep step for widening induction variables in LoopFlatten if this is
posssible (D90640), to avoid having to perform certain overflow checks. Since
IndVarSimplify may already widen induction variables, we want to run
LoopFlatten just before IndVarSimplify. This is a minor reshuffle as both
passes were already close after each other.

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




More information about the All-commits mailing list