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 5b13110 commit 2cea9f4Copy full SHA for 2cea9f4
mlir/lib/Dialect/EmitC/IR/EmitC.cpp
@@ -1321,8 +1321,8 @@ GetGlobalOp::verifySymbolUses(SymbolTableCollection &symbolTable) {
1321
// global has non-array type
1322
auto lvalueType = dyn_cast<LValueType>(resultType);
1323
if (!lvalueType)
1324
- return emitOpError("on non-array type result type is not defined "
1325
- "for the global @")
+ return emitOpError("on non-array type expects result type to be an "
+ "lvalue type for the global @")
1326
<< getName();
1327
if (lvalueType.getValueType() != globalType)
1328
return emitOpError("on non-array type expects result inner type ")
0 commit comments