[PATCH] D154052: Refactor some BasicBlockUtils functions (NFC)

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 01:59:39 PDT 2023


chill created this revision.
chill added reviewers: mkazantsev, nikic, efriedma, dmgreen.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
chill requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


https://reviews.llvm.org/D154052

Files:
  llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
  llvm/lib/Transforms/Utils/BasicBlockUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154052.535681.patch
Type: text/x-patch
Size: 10041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230629/7a456abf/attachment.bin>


More information about the llvm-commits mailing list