From e828c7e1e110ffb4c77188b40ec29917b69b6e4c Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 28 May 2019 12:14:26 -0700 Subject: [PATCH] Remove unused IsSingleResult template -- PiperOrigin-RevId: 250335025 --- mlir/include/mlir/IR/OpDefinition.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mlir/include/mlir/IR/OpDefinition.h b/mlir/include/mlir/IR/OpDefinition.h index 58d19d7..0ede2f8 100644 --- a/mlir/include/mlir/IR/OpDefinition.h +++ b/mlir/include/mlir/IR/OpDefinition.h @@ -48,12 +48,6 @@ struct typelist_contains { template struct typelist_contains : std::is_same {}; -/// This type trait is used to determine if an operation has a single result. -template struct IsSingleResult { - static const bool value = std::is_convertible< - OpType *, OpTrait::OneResult *>::value; -}; - /// This class represents success/failure for operation parsing. It is /// essentially a simple wrapper class around LogicalResult that allows for /// explicit conversion to bool. This allows for the parser to chain together -- 2.7.4