Revert "Fix MLIR build failure: error: no member named 'getValue' in 'mlir::OptionalParseResult'"

This reverts commit d151aa4a0f.

A bot is broken
This commit is contained in:
Mehdi Amini 2023-08-20 13:21:50 -07:00
parent d151aa4a0f
commit ad83164e6d

View File

@ -763,7 +763,7 @@ static const char *const dialectDynamicTypeParserDispatch = R"(
{
auto parseResult = parseOptionalDynamicType(mnemonic, parser, genType);
if (parseResult.has_value()) {
if (::mlir::succeeded(parseResult.value()))
if (::mlir::succeeded(parseResult.getValue()))
return genType;
return ::mlir::Type();
}