We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1377535 commit fbeab2cCopy full SHA for fbeab2c
mlir/lib/TableGen/Pattern.cpp
@@ -304,8 +304,8 @@ std::string SymbolInfoMap::SymbolInfo::getValueAndRangeUse(
304
assert(index < 0);
305
auto *operand = cast<NamedTypeConstraint *>(op->getArg(getArgIndex()));
306
if (operand->isOptional()) {
307
- auto repl =
308
- formatv(fmt, formatv("({0}.empty() ? Value() : *{0}.begin())", name));
+ auto repl = formatv(
+ fmt, formatv("({0}.empty() ? ::mlir::Value() : *{0}.begin())", name));
309
LLVM_DEBUG(dbgs() << repl << " (OptionalOperand)\n");
310
return std::string(repl);
311
}
0 commit comments