Home
last modified time | relevance | path

Searched refs:compExOp (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp1394 static LogicalResult verify(spirv::CompositeExtractOp compExOp) { in verify() argument
1395 auto indicesArrayAttr = compExOp.indices().dyn_cast<ArrayAttr>(); in verify()
1396 auto resultType = getElementType(compExOp.composite().getType(), in verify()
1397 indicesArrayAttr, compExOp.getLoc()); in verify()
1401 if (resultType != compExOp.getType()) { in verify()
1402 return compExOp.emitOpError("invalid result type: expected ") in verify()
1403 << resultType << " but provided " << compExOp.getType(); in verify()