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