[Mlir-commits] [mlir] [mlir][emitc] Add EmitC index types (PR #93155)
Simon Camphausen
llvmlistbot at llvm.org
Thu May 23 05:11:10 PDT 2024
================
@@ -109,7 +110,8 @@ bool mlir::emitc::isSupportedIntegerType(Type type) {
}
bool mlir::emitc::isIntegerIndexOrOpaqueType(Type type) {
- return llvm::isa<IndexType, emitc::OpaqueType>(type) ||
+ return llvm::isa<IndexType, emitc::SignedSizeTType, emitc::SizeTType,
+ emitc::OpaqueType>(type) ||
----------------
simon-camp wrote:
use `isAnySizeTType`
https://github.com/llvm/llvm-project/pull/93155
More information about the Mlir-commits
mailing list