[Mlir-commits] [mlir] [mlir][tensor] Fix `tensor.pad` to remote newly static values (PR #79938)

Jakub Kuderski llvmlistbot at llvm.org
Mon Jan 29 19:30:02 PST 2024


================
@@ -3158,19 +3158,23 @@ struct FoldStaticPadding : public OpRewritePattern<PadOp> {
 
     // Extract the static info from the high and low operands.
     SmallVector<int64_t> constOperandsLow;
+    llvm::SmallVector<Value> newLows;
----------------
kuhar wrote:

nit: You don't need the `llvm::`, there's a using declaration for this and some other common types in the mlir namespace. Also below.

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


More information about the Mlir-commits mailing list