[all-commits] [llvm/llvm-project] 960460: [SimplifyCFG] Remove redundant checks for hoisting...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jul 4 01:54:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9604601c9394261af56f5cadfdaafef437be4275
      https://github.com/llvm/llvm-project/commit/9604601c9394261af56f5cadfdaafef437be4275
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-07-04 (Mon, 04 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [SimplifyCFG] Remove redundant checks for hoisting (NFCI)

These conditions are later checked in the HoistTerminator code
path. Checking them here is somewhat confusing, because this code
only checks the first instruction in the block, which is not
necessarily the terminator.




More information about the All-commits mailing list