1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Splat aggregation fix in sized array initializer

This commit is contained in:
Brian Fiete 2023-04-18 11:26:21 -07:00
parent aabd84368d
commit fe5cae2220

View file

@ -20902,7 +20902,7 @@ void BfExprEvaluator::InitializedSizedArray(BfSizedArrayType* arrayType, BfToken
}
}
elementValue = mModule->LoadValue(elementValue);
elementValue = mModule->LoadOrAggregateValue(elementValue);
mModule->mBfIRBuilder->CreateAlignedStore(elementValue.mValue, elemPtrValue, checkArrayType->mElementType->mAlign);
}
}