[clang] [CIR] Update isSized with upstreamed types (PR #143960)
Henrich Lauko via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 25 12:35:33 PDT 2025
================
@@ -139,8 +139,9 @@ class CIRGenBuilderTy : public cir::CIRBaseBuilderTy {
}
bool isSized(mlir::Type ty) {
- if (mlir::isa<cir::PointerType, cir::ArrayType, cir::BoolType,
- cir::IntType>(ty))
+ if (mlir::isa<cir::PointerType, cir::ArrayType, cir::BoolType, cir::IntType,
+ cir::CIRFPTypeInterface, cir::ComplexType, cir::RecordType>(
----------------
xlauko wrote:
This should do it https://github.com/llvm/clangir/pull/1714
https://github.com/llvm/llvm-project/pull/143960
More information about the cfe-commits
mailing list