[llvm] [Transforms][IPO] Add func suffix in ArgumentPromotion and DeadArgume… (PR #105742)

Andrii Nakryiko via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 15:04:07 PDT 2024


================
@@ -200,6 +200,7 @@ doPromotion(Function *F, FunctionAnalysisManager &FAM,
 
   F->getParent()->getFunctionList().insert(F->getIterator(), NF);
   NF->takeName(F);
+  NF->setName(NF->getName() + ".argpromotion");
----------------
anakryiko wrote:

bikeshedding: '.argpromo' ?

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


More information about the llvm-commits mailing list