mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fix for splats passing into params
This commit is contained in:
parent
7f9a272e23
commit
fb3cd1ac83
1 changed files with 1 additions and 1 deletions
|
@ -8556,7 +8556,7 @@ BfTypedValue BfExprEvaluator::CreateCall(BfAstNode* targetSrc, const BfTypedValu
|
|||
}
|
||||
else if (expandedParamAlloca)
|
||||
{
|
||||
argValue = mModule->LoadValue(argValue);
|
||||
argValue = mModule->LoadOrAggregateValue(argValue);
|
||||
auto addr = mModule->mBfIRBuilder->CreateInBoundsGEP(expandedParamAlloca, extendedParamIdx);
|
||||
auto storeInst = mModule->mBfIRBuilder->CreateAlignedStore(argValue.mValue, addr, argValue.mType->mAlign);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue