[llvm] [SCCPSolver] Make getMRVFunctionsTracked return a reference (NFC) (PR #140851)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Wed May 21 08:55:59 PDT 2025


================
@@ -147,7 +147,7 @@ class SCCPSolver {
 
   /// getMRVFunctionsTracked - Get the set of functions which return multiple
   /// values tracked by the pass.
-  const SmallPtrSet<Function *, 16> getMRVFunctionsTracked();
+  const SmallPtrSet<Function *, 16> &getMRVFunctionsTracked();
----------------
kazutakahirata wrote:

Good idea.  Let me do that as a follow-up.

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


More information about the llvm-commits mailing list