[Mlir-commits] [mlir] [mlir] Enable remove-dead-values to delete unused private function (PR #161471)
Mehdi Amini
llvmlistbot at llvm.org
Wed Oct 1 03:32:18 PDT 2025
================
@@ -881,9 +891,12 @@ void RemoveDeadValues::runOnOperation() {
// end of this pass.
RDVFinalCleanupList finalCleanupList;
+ module->walk([&](FunctionOpInterface op) {
+ processFuncOp(op, module, la, deadVals, finalCleanupList);
+ });
----------------
joker-eph wrote:
why does it need to be a separate traversal here?
https://github.com/llvm/llvm-project/pull/161471
More information about the Mlir-commits
mailing list