[all-commits] [llvm/llvm-project] da0fe2: Filter callbr insts from critical edge splitting

Bill Wendling via All-commits all-commits at lists.llvm.org
Fri Feb 21 00:53:59 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: da0fe2ade369223ebea2dafd411746e854a801f2
      https://github.com/llvm/llvm-project/commit/da0fe2ade369223ebea2dafd411746e854a801f2
  Author: Bill Wendling <isanbard at gmail.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LICM.cpp
    M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
    A llvm/test/Transforms/LICM/callbr-crash.ll

  Log Message:
  -----------
  Filter callbr insts from critical edge splitting

Similarly to how splitting predecessors with an indirectbr isn't handled
in the generic way, we also shouldn't split callbrs, for similar
reasons.

(cherry picked from commit 2fe457690da0fc38bc7f9f1d0aee2ba6a6a16ada)




More information about the All-commits mailing list