[PATCH] D107109: [CallSiteInfo][NFC] CallSiteInfo -> CallSiteInfo.ArgRegPairs

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 3 00:28:03 PDT 2021


djtodoro added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/MachineFunction.h:420
+    /// Vector of call argument and its forwarding register.
+    SmallVector<ArgRegPair, 1> ArgRegPairs;
+  };
----------------
I guess we can increase the N at least to 3 or 4, so we avoid `mallocs` for most of the cases?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107109/new/

https://reviews.llvm.org/D107109



More information about the llvm-commits mailing list