diff --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td --- a/mlir/include/mlir/IR/OpBase.td +++ b/mlir/include/mlir/IR/OpBase.td @@ -1582,7 +1582,8 @@ let storageType = [{ ::mlir::SymbolRefAttr }]; let returnType = [{ ::mlir::SymbolRefAttr }]; let valueType = NoneType; - let constBuilderCall = "SymbolRefAttr::get($_builder.getContext(), $0)"; + let constBuilderCall = + "::mlir::SymbolRefAttr::get($_builder.getContext(), $0)"; let convertFromStorage = "$_self"; } @@ -1591,7 +1592,8 @@ let storageType = [{ ::mlir::FlatSymbolRefAttr }]; let returnType = [{ ::llvm::StringRef }]; let valueType = NoneType; - let constBuilderCall = "SymbolRefAttr::get($_builder.getContext(), $0)"; + let constBuilderCall = + "::mlir::SymbolRefAttr::get($_builder.getContext(), $0)"; let convertFromStorage = "$_self.getValue()"; }