1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Fixed Og+ vector cast

This commit is contained in:
Brian Fiete 2023-03-21 16:54:17 -07:00
parent 27a00b64ba
commit 07f14f0ab8

View file

@ -17810,7 +17810,7 @@ void BeMCContext::Generate(BeFunction* function)
result = AllocVirtualReg(intrin->mReturnType);
CreateDefineVReg(result);
auto vregInfo = GetVRegInfo(result);
vregInfo->mRelTo = GetOperand(castedInst->mArgs[0].mValue);
vregInfo->mRelTo = TryToVector(castedInst->mArgs[0].mValue);
vregInfo->mIsExpr = true;
}
break;