[Mlir-commits] [mlir] [mlir][Transforms] --remove-dead-values: keep values used in public function calls (PR #83249)

Matthias Springer llvmlistbot at llvm.org
Wed Feb 28 11:19:46 PST 2024


================
@@ -178,6 +181,17 @@ static void cleanSimpleOp(Operation *op, RunLivenessAnalysis &la) {
   if (!isMemoryEffectFree(op) || hasLive(op->getResults(), la))
----------------
matthias-springer wrote:

I never looked into the liveness analysis, but shouldn't a value be considered "alive" it is passed as a function call operand?


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


More information about the Mlir-commits mailing list