mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Splat aggregation fix in sized array initializer
This commit is contained in:
parent
aabd84368d
commit
fe5cae2220
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
mModule->mBfIRBuilder->CreateAlignedStore(elementValue.mValue, elemPtrValue, checkArrayType->mElementType->mAlign);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue