[Mlir-commits] [mlir] [mlir][tensor] Fix PadOp::getConstantPaddingValue (PR #121205)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue Dec 31 06:46:04 PST 2024


banach-space wrote:

> Actually, the constant value inside the PadOp can canonicalize to the outside

That's what I expected and it makes me think - wouldn't it be better to just bail out in this case (as opposed to creating `tensor.generate`)?

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


More information about the Mlir-commits mailing list