Merge pull request #469 from lioncash/void

A64/impl: Reorganize peculiar void use in V_scalar
This commit is contained in:
Merry 2019-04-12 20:13:57 +01:00 committed by MerryMage
commit 16bea87481

View file

@ -226,7 +226,8 @@ IR::UAnyU128 TranslatorVisitor::V_scalar(size_t bitsize, Vec vec) {
void TranslatorVisitor::V_scalar(size_t bitsize, Vec vec, IR::UAnyU128 value) { void TranslatorVisitor::V_scalar(size_t bitsize, Vec vec, IR::UAnyU128 value) {
if (bitsize == 128) { if (bitsize == 128) {
return V(128, vec, value); V(128, vec, value);
return;
} }
// TODO: Optimize // TODO: Optimize
ir.SetQ(vec, ir.ZeroExtendToQuad(value)); ir.SetQ(vec, ir.ZeroExtendToQuad(value));