[all-commits] [llvm/llvm-project] 50b627: [MBP] findBestLoopTopHelper should exit if OldTop ...

weiguozhi via All-commits all-commits at lists.llvm.org
Wed Jul 28 19:03:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50b62731452cb83979bbf3c06e828d26a4698dca
      https://github.com/llvm/llvm-project/commit/50b62731452cb83979bbf3c06e828d26a4698dca
  Author: Guozhi Wei <carrot at google.com>
  Date:   2021-07-28 (Wed, 28 Jul 2021)

  Changed paths:
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp
    A llvm/test/CodeGen/ARM/mbp.ll

  Log Message:
  -----------
  [MBP] findBestLoopTopHelper should exit if OldTop is not a chain header

Function findBestLoopTopHelper tries to find a new loop top block which can also
fall through to OldTop, but it's impossible if OldTop is not a chain header, so
it should exit immediately.

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




More information about the All-commits mailing list