[clang] [CIR] Use memory types for bool aggregate constants (PR #236082)

Martin Paul Lücke via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 9 01:53:14 PST 2026


================
@@ -198,8 +198,8 @@ template <> mlir::APFloat getZeroInitFromType(mlir::Type ty) {
 template <typename AttrTy, typename StorageTy>
 bool convertToDenseElementsAttrImpl(
     cir::ConstArrayAttr attr, llvm::SmallVectorImpl<StorageTy> &values,
-    const llvm::SmallVectorImpl<int64_t> &currentDims, int64_t dimIndex,
-    int64_t currentIndex) {
+    const llvm::SmallVectorImpl<int64_t> &currentDims,
+    mlir::Type convertedElementType, int64_t dimIndex, int64_t currentIndex) {
----------------
martin-luecke wrote:

fixed

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


More information about the cfe-commits mailing list