[all-commits] [llvm/llvm-project] ab9f2b: Refactor some BasicBlockUtils functions (NFC)

Momchil Velikov via All-commits all-commits at lists.llvm.org
Wed Jul 19 10:21:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab9f2bebd6d500537d85e828f6e44ee4740a99e1
      https://github.com/llvm/llvm-project/commit/ab9f2bebd6d500537d85e828f6e44ee4740a99e1
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
    M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp

  Log Message:
  -----------
  Refactor some BasicBlockUtils functions (NFC)

Add a more "flexible" `SplitBlockAndInsertIfThenElse` function
and re-implement some others on top of it.

Reviewed By: dmgreen

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




More information about the All-commits mailing list