[PATCH] D115545: [Inline] Attempt to delete any discardable if unused functions

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 12 08:11:45 PST 2022


mtrofin added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/Inliner.cpp:967
+          } else {
+            DeadFunctionsInComdats.push_back(&Callee);
+          }
----------------
can you make `Advice->recordInliningWithCalleeDeleted` happen in this case, too?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115545/new/

https://reviews.llvm.org/D115545



More information about the llvm-commits mailing list