[PATCH] D85561: [BasicBlockUtils] Factor MergeBlockIntoPredecessor args into a struct, NFC

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 14:58:29 PDT 2020


vsk created this revision.
vsk added reviewers: fhahn, asbirlea.
Herald added subscribers: rogfer01, zzheng, hiraditya.
Herald added a project: LLVM.
vsk requested review of this revision.
Herald added a subscriber: vkmr.

Factor the arguments to MergeBlockIntoPredecessor into a struct to
make usage of the API more readable.

This is in preparation for a change which adds another knob to
MergeBlockIntoPredecessor.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85561

Files:
  llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
  llvm/lib/Transforms/Scalar/GVN.cpp
  llvm/lib/Transforms/Scalar/LoopFuse.cpp
  llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
  llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
  llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
  llvm/lib/Transforms/Utils/LoopUnroll.cpp
  llvm/lib/Transforms/Vectorize/VPlan.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85561.284067.patch
Type: text/x-patch
Size: 7495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200807/7c53e145/attachment.bin>


More information about the llvm-commits mailing list