[all-commits] [llvm/llvm-project] d50d7c: [MBP] Prevent rotating a chain contains entry block

weiguozhi via All-commits all-commits at lists.llvm.org
Mon Dec 14 12:49:57 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d50d7c37a159802c89454a6c53c0ec2e7949d84a
      https://github.com/llvm/llvm-project/commit/d50d7c37a159802c89454a6c53c0ec2e7949d84a
  Author: Guozhi Wei <carrot at google.com>
  Date:   2020-12-14 (Mon, 14 Dec 2020)

  Changed paths:
    M llvm/lib/CodeGen/MachineBlockPlacement.cpp

  Log Message:
  -----------
  [MBP] Prevent rotating a chain contains entry block

The entry block should always be the first BB in a function.
So we should not rotate a chain contains the entry block.

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




More information about the All-commits mailing list