[llvm-branch-commits] [llvm] [NFC][Utils] Extract CloneFunctionBodyInto from CloneFunctionInto (PR #118624)
Artem Pianykh via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Dec 10 23:51:43 PST 2024
================
@@ -194,6 +194,15 @@ void CloneFunctionMetadataInto(Function *NewFunc, const Function *OldFunc,
ValueMapTypeRemapper *TypeMapper = nullptr,
ValueMaterializer *Materializer = nullptr);
+/// Clone OldFunc's body into NewFunc.
+void CloneFunctionBodyInto(Function *NewFunc, const Function *OldFunc,
----------------
artempyanykh wrote:
Thanks! Updated them to be references.
https://github.com/llvm/llvm-project/pull/118624
More information about the llvm-branch-commits
mailing list