[all-commits] [llvm/llvm-project] ed0fd5: BreakCriticalEdges: do not split the critical edge...

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Fri Jan 15 13:56:56 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ed0fd567ebdbbbbc61eb87346a58196a73f9b814
      https://github.com/llvm/llvm-project/commit/ed0fd567ebdbbbbc61eb87346a58196a73f9b814
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
    A llvm/test/Transforms/LoopStrengthReduce/callbr-critical-edge-splitting.ll
    A llvm/test/Transforms/LoopStrengthReduce/callbr-critical-edge-splitting2.ll

  Log Message:
  -----------
  BreakCriticalEdges: do not split the critical edge from a CallBr indirect successor

Otherwise we'll fail the assertion in SplitBlockPredecessors() related
to splitting the edges from CallBr's.

Fixes: https://github.com/ClangBuiltLinux/linux/issues/1161
Fixes: https://github.com/ClangBuiltLinux/linux/issues/1252

Reviewed By: void, MaskRay, jyknight

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




More information about the All-commits mailing list