diff --git a/mlir/lib/Dialect/Utils/StructuredOpsUtils.cpp b/mlir/lib/Dialect/Utils/StructuredOpsUtils.cpp --- a/mlir/lib/Dialect/Utils/StructuredOpsUtils.cpp +++ b/mlir/lib/Dialect/Utils/StructuredOpsUtils.cpp @@ -118,7 +118,7 @@ SmallVector mlir::getPrunedAttributeList(Operation *op, ArrayRef elidedAttrs) { - llvm::StringSet elidedAttrsSet; + llvm::StringSet<> elidedAttrsSet; elidedAttrsSet.insert(elidedAttrs.begin(), elidedAttrs.end()); SmallVector attrs; for (auto attr : op->getAttrs()) {