[Mlir-commits] [mlir] [mlir][RemoveDeadValues] Replace dead function argument uses with poison (PR #208881)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Jul 26 21:24:20 PDT 2026


jjppp wrote:

> I'm wondering why `-remove-dead-values` does not erase the entire function body. Given that "private" functions that are not called are considered unreachable.

-remove-dead-values does not eliminate symbols. That's the job of -sybol-dce I think.



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


More information about the Mlir-commits mailing list