[clang] [CIR] Update isSized with upstreamed types (PR #143960)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 24 08:35:29 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>(
----------------
erichkeane wrote:

That sounds like a lovely idea!

https://github.com/llvm/llvm-project/pull/143960


More information about the cfe-commits mailing list