[llvm] [CodeLayout][NFC] Using MergedVector to avoid extra vector allocations (PR #68724)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 10:56:35 PDT 2023


================
@@ -516,34 +518,54 @@ struct MergedChain {
   NodeIter End3;
 };
 
+/// A wrapper around two concatenated vectors (chains) of jumps.
+struct MergedJumpsT {
+  MergedJumpsT(const std::vector<JumpT *> *Jumps1,
+               const std::vector<JumpT *> *Jumps2 = nullptr) {
----------------
rlavaee wrote:

This default value is unused.

https://github.com/llvm/llvm-project/pull/68724


More information about the llvm-commits mailing list