Skip to content

Commit

Permalink
Fix a typo in handling vsplats
Browse files Browse the repository at this point in the history
  • Loading branch information
gita-omr committed Feb 18, 2022
1 parent ce1c984 commit f96a90b
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 f96a90b

Please sign in to comment.