[PATCH] D66955: [DebugInfo][If-Converter] Update call site info during the optimization

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 11:53:48 PDT 2019


efriedma added inline comments.


================
Comment at: include/llvm/CodeGen/MachineFunction.h:987
+  /// copy call site info from \p Old call instruction to \p New.
   void updateCallSiteInfo(const MachineInstr *Old,
+                          const MachineInstr *New = nullptr,
----------------
Can we split this API into multiple entry points?  It now has three different modes with different semantics, which is more confusing than helpful.


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

https://reviews.llvm.org/D66955





More information about the llvm-commits mailing list