[llvm] [Transforms][IPO] Add func suffix in ArgumentPromotion and DeadArgume… (PR #105742)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 13:01:11 PDT 2024
================
@@ -876,6 +876,8 @@ bool DeadArgumentEliminationPass::removeDeadStuffFromFunction(Function *F) {
// it again.
F->getParent()->getFunctionList().insert(F->getIterator(), NF);
NF->takeName(F);
+ if (NumArgumentsEliminated)
----------------
efriedma-quic wrote:
I can imagine wanting a different suffix for the case where we only eliminate a return value, but I think it makes sense to have some suffix.
https://github.com/llvm/llvm-project/pull/105742
More information about the llvm-commits
mailing list