[Mlir-commits] [mlir] [mlir][NVVM] Add InferTypeOpInterface to sync and ldmatrix ops (PR #188238)
Bastian Hagedorn
llvmlistbot at llvm.org
Wed Mar 25 01:03:43 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),
----------------
bastianhagedorn wrote:
done
https://github.com/llvm/llvm-project/pull/188238
More information about the Mlir-commits
mailing list