[all-commits] [llvm/llvm-project] 048f18: [SplitEdge] Add new parameter to SplitEdge to name...

Sidharth Baveja via All-commits all-commits at lists.llvm.org
Thu Jan 7 06:55:09 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 048f184ee488cdc8dadc0b8f9d1def9e6b469a73
      https://github.com/llvm/llvm-project/commit/048f184ee488cdc8dadc0b8f9d1def9e6b469a73
  Author: Sidharth Baveja <sidharth.baveja at ibm.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

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

  Log Message:
  -----------
  [SplitEdge] Add new parameter to SplitEdge to name the newly created basic block

Summary:
Currently SplitEdge does not support passing in parameter which allows you to
name the newly created BasicBlock.

This patch updates the function such that the name of the block can be passed
in, if users of this utility decide to do so.

Reviewed By: Whitney, bmahjour, asbirlea, jamieschmeiser

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




More information about the All-commits mailing list