Merge pull request #469 from lioncash/void
A64/impl: Reorganize peculiar void use in V_scalar
This commit is contained in:
commit
16bea87481
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
if (bitsize == 128) {
|
||||
return V(128, vec, value);
|
||||
V(128, vec, value);
|
||||
return;
|
||||
}
|
||||
// TODO: Optimize
|
||||
ir.SetQ(vec, ir.ZeroExtendToQuad(value));
|
||||
|
|
Loading…
Reference in a new issue