[Mlir-commits] [mlir] d0e507f - [mlir][Tensor] Fix build error due to missing `<>` in D146440.

Mahesh Ravishankar llvmlistbot at llvm.org
Mon Mar 20 14:22:02 PDT 2023


Author: Mahesh Ravishankar
Date: 2023-03-20T21:21:50Z
New Revision: d0e507f56990fa09fe9ce326419dda8d54486c0a

URL: https://github.com/llvm/llvm-project/commit/d0e507f56990fa09fe9ce326419dda8d54486c0a
DIFF: https://github.com/llvm/llvm-project/commit/d0e507f56990fa09fe9ce326419dda8d54486c0a.diff

LOG: [mlir][Tensor] Fix build error due to missing `<>` in D146440.

Differential Revision: https://reviews.llvm.org/D146458

Added: 
    

Modified: 
    mlir/lib/Dialect/Utils/StructuredOpsUtils.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Utils/StructuredOpsUtils.cpp b/mlir/lib/Dialect/Utils/StructuredOpsUtils.cpp
index 49b49ef639708..aed39f8644008 100644
--- a/mlir/lib/Dialect/Utils/StructuredOpsUtils.cpp
+++ b/mlir/lib/Dialect/Utils/StructuredOpsUtils.cpp
@@ -118,7 +118,7 @@ Operation *mlir::cloneWithoutRegions(OpBuilder &b, Operation *op,
 
 SmallVector<NamedAttribute>
 mlir::getPrunedAttributeList(Operation *op, ArrayRef<StringRef> elidedAttrs) {
-  llvm::StringSet elidedAttrsSet;
+  llvm::StringSet<> elidedAttrsSet;
   elidedAttrsSet.insert(elidedAttrs.begin(), elidedAttrs.end());
   SmallVector<NamedAttribute> attrs;
   for (auto attr : op->getAttrs()) {


        


More information about the Mlir-commits mailing list