[all-commits] [llvm/llvm-project] 4e8782: [LoopLoadElim] Fix crash by always checking simpli...

max-azul via All-commits all-commits at lists.llvm.org
Thu Apr 9 19:32:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e8782302691518b084ab3d57ebbbd140fbe9a14
      https://github.com/llvm/llvm-project/commit/4e8782302691518b084ab3d57ebbbd140fbe9a14
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
    M llvm/test/Transforms/LoopLoadElim/new-pm-preheader-problem.ll

  Log Message:
  -----------
  [LoopLoadElim] Fix crash by always checking simplify form

Loop simplify form should always be checked because logic of
propagateStoredValueToLoadUsers relies on it (in particular, it
requires preheader).

Reviewed By: Fedor Sergeev, Florian Hahn
Differential Revision: https://reviews.llvm.org/D77775




More information about the All-commits mailing list