[PATCH] D60715: [ISEL][X86] Tracking of registers that forward call arguments

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 05:36:54 PDT 2019


lebedev.ri added inline comments.


================
Comment at: include/llvm/CodeGen/SelectionDAG.h:1633
+    if (I != SDCallSiteInfo.end())
+      return std::move(I->second);
+    return CallSiteInfo();
----------------
The function is marked as `const`, yet this is a `std::move()`.
Do you mean to only get the `CallSiteInfo` once?


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

https://reviews.llvm.org/D60715





More information about the llvm-commits mailing list