[Mlir-commits] [mlir] [WIP][mlir][EmitC] Model lvalues as a type in EmitC (PR #91475)
Simon Camphausen
llvmlistbot at llvm.org
Thu Jun 6 00:51:30 PDT 2024
================
@@ -68,6 +68,8 @@ static LogicalResult verifyInitializationAttribute(Operation *op,
<< "string attributes are not supported, use #emitc.opaque instead";
Type resultType = op->getResult(0).getType();
+ if (auto lType = dyn_cast<LValueType>(resultType))
----------------
simon-camp wrote:
This should be handled now as the lvalue type is disallowed in the "EmitCType" predicate.
https://github.com/llvm/llvm-project/pull/91475
More information about the Mlir-commits
mailing list