A64/impl: Reorganize peculiar void use in V_scalar
To a reader this might look particularly strange, given the function itself has a void return value, but this is actually valid, given the function in the return statement also has a void return value. This instead alters it to be a little easier to parse and potentially be a little less confusing at a glance.
This commit is contained in:
parent
4a3d808354
commit
64de80839e
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