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.
Paths
| Differential D85561
[BasicBlockUtils] Factor MergeBlockIntoPredecessor args into a struct, NFC AcceptedPublic Authored by vsk on Aug 7 2020, 2:58 PM.
Details
Diff Detail
Unit TestsFailed
Revision Contents
Diff 284067 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
|
clang-tidy: warning: invalid case style for function 'MergeBlockIntoPredecessor' [readability-identifier-naming]
not useful