[Mlir-commits] [mlir] [mlir][NVVM] Add InferTypeOpInterface to sync and ldmatrix ops (PR #188238)
Pradeep Kumar
llvmlistbot at llvm.org
Tue Mar 24 06:51:49 PDT 2026
================
@@ -2840,6 +2875,21 @@ LogicalResult NVVM::MatchSyncOp::verify() {
return success();
}
+LogicalResult MatchSyncOp::inferReturnTypes(
+ MLIRContext *context, std::optional<Location> location,
+ MatchSyncOp::Adaptor adaptor,
+ SmallVectorImpl<Type> &inferredReturnTypes) {
+ if (adaptor.getKind() == NVVM::MatchSyncKind::all) {
+ SmallVector<Type> body = {IntegerType::get(context, 32),
----------------
schwarzschild-radius wrote:
Same here, Can the vector be replaced?
https://github.com/llvm/llvm-project/pull/188238
More information about the Mlir-commits
mailing list