mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed Og+ vector cast
This commit is contained in:
parent
27a00b64ba
commit
07f14f0ab8
1 changed files with 1 additions and 1 deletions
|
@ -17810,7 +17810,7 @@ void BeMCContext::Generate(BeFunction* function)
|
||||||
result = AllocVirtualReg(intrin->mReturnType);
|
result = AllocVirtualReg(intrin->mReturnType);
|
||||||
CreateDefineVReg(result);
|
CreateDefineVReg(result);
|
||||||
auto vregInfo = GetVRegInfo(result);
|
auto vregInfo = GetVRegInfo(result);
|
||||||
vregInfo->mRelTo = GetOperand(castedInst->mArgs[0].mValue);
|
vregInfo->mRelTo = TryToVector(castedInst->mArgs[0].mValue);
|
||||||
vregInfo->mIsExpr = true;
|
vregInfo->mIsExpr = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue