Skip to content

Commit

Permalink
Merge pull request #14565 from gita-omr/pr_fix_vsplats
Browse files Browse the repository at this point in the history
Fix a typo in handling vsplats
  • Loading branch information
jdmpapin committed Feb 21, 2022
2 parents ce1c984 + f96a90b commit 934d656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/compiler/optimizer/VectorAPIExpansion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1407,10 +1407,10 @@ TR::Node *TR_VectorAPIExpansion::broadcastCoercedIntrinsicHandler(TR_VectorAPIEx
newNode = TR::Node::create(node, TR::lbits2d, 1, valueToBroadcast);
break;
case TR::Int8:
newNode = TR::Node::create(node, doScalarization ? TR::l2i : TR::l2b, 1, valueToBroadcast);
newNode = TR::Node::create(node, mode == doScalarization ? TR::l2i : TR::l2b, 1, valueToBroadcast);
break;
case TR::Int16:
newNode = TR::Node::create(node, doScalarization ? TR::l2i : TR::l2s, 1, valueToBroadcast);
newNode = TR::Node::create(node, mode == doScalarization ? TR::l2i : TR::l2s, 1, valueToBroadcast);
break;
case TR::Int32:
newNode = TR::Node::create(node, TR::l2i, 1, valueToBroadcast);
Expand Down

0 comments on commit 934d656

Please sign in to comment.