[Mlir-commits] [mlir] 25a4a93 - [mlir][capi] Drop mlirShapedTypeGetTypeID

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed May 24 15:51:50 PDT 2023


Author: Lei Zhang
Date: 2023-05-24T17:51:25-05:00
New Revision: 25a4a9360e1dedb572dc007cf8cc97dfc3efdeac

URL: https://github.com/llvm/llvm-project/commit/25a4a9360e1dedb572dc007cf8cc97dfc3efdeac
DIFF: https://github.com/llvm/llvm-project/commit/25a4a9360e1dedb572dc007cf8cc97dfc3efdeac.diff

LOG: [mlir][capi] Drop mlirShapedTypeGetTypeID

ShapedType is a virtual type rather than a concrete one.
We don't have an implmentation for this API too.

Reviewed By: makslevental

Differential Revision: https://reviews.llvm.org/D151376

Added: 
    

Modified: 
    mlir/include/mlir-c/BuiltinTypes.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir-c/BuiltinTypes.h b/mlir/include/mlir-c/BuiltinTypes.h
index 4348c5ba167f9..c8ea44cd94fae 100644
--- a/mlir/include/mlir-c/BuiltinTypes.h
+++ b/mlir/include/mlir-c/BuiltinTypes.h
@@ -198,9 +198,6 @@ MLIR_CAPI_EXPORTED MlirType mlirComplexTypeGetElementType(MlirType type);
 // Shaped type.
 //===----------------------------------------------------------------------===//
 
-/// Returns the typeID of an Shaped type.
-MLIR_CAPI_EXPORTED MlirTypeID mlirShapedTypeGetTypeID(void);
-
 /// Checks whether the given type is a Shaped type.
 MLIR_CAPI_EXPORTED bool mlirTypeIsAShaped(MlirType type);
 


        


More information about the Mlir-commits mailing list