[Mlir-commits] [mlir] 360f3b8 - [mlir][vector] Update stale comment. NFC.
Jakub Kuderski
llvmlistbot at llvm.org
Fri Nov 25 11:49:00 PST 2022
Author: Jakub Kuderski
Date: 2022-11-25T14:48:31-05:00
New Revision: 360f3b8db4e6447c010c7b98f64f5b6e662838ee
URL: https://github.com/llvm/llvm-project/commit/360f3b8db4e6447c010c7b98f64f5b6e662838ee
DIFF: https://github.com/llvm/llvm-project/commit/360f3b8db4e6447c010c7b98f64f5b6e662838ee.diff
LOG: [mlir][vector] Update stale comment. NFC.
Added:
Modified:
mlir/lib/Dialect/Vector/IR/VectorOps.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Vector/IR/VectorOps.cpp b/mlir/lib/Dialect/Vector/IR/VectorOps.cpp
index 3027b466fc90..eebf590d6586 100644
--- a/mlir/lib/Dialect/Vector/IR/VectorOps.cpp
+++ b/mlir/lib/Dialect/Vector/IR/VectorOps.cpp
@@ -1611,8 +1611,7 @@ class ExtractOpSplatConstantFolder final : public OpRewritePattern<ExtractOp> {
}
};
-// Pattern to rewrite a ExtractOp(vector<...xT> ConstantOp)[...] -> ConstantOp,
-// where the position array specifies a scalar element.
+// Pattern to rewrite a ExtractOp(non-splat ConstantOp)[...] -> ConstantOp.
class ExtractOpNonSplatConstantFolder final
: public OpRewritePattern<ExtractOp> {
public:
More information about the Mlir-commits
mailing list