[PATCH] D98957: [NFCI] [TransformUtils] cleanup `CloneFunctionInto`
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 19 09:37:48 PDT 2021
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LG
================
Comment at: llvm/lib/Transforms/Utils/CloneFunction.cpp:157
NewFunc->getParent() != OldFunc->getParent()) &&
- "Set SameModule to true if the new function is in the same module");
+ "expected NewFunc to have different parents, or no parent");
----------------
Capitalize message for consistency.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98957/new/
https://reviews.llvm.org/D98957
More information about the llvm-commits
mailing list