From f96a90b98e426c05312a74abe0804c5b1f3e92b9 Mon Sep 17 00:00:00 2001 From: Gita Koblents Date: Fri, 18 Feb 2022 14:10:59 -0500 Subject: [PATCH] Fix a typo in handling vsplats --- runtime/compiler/optimizer/VectorAPIExpansion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/compiler/optimizer/VectorAPIExpansion.cpp b/runtime/compiler/optimizer/VectorAPIExpansion.cpp index a5c614a0e08..7d94e6a9e25 100644 --- a/runtime/compiler/optimizer/VectorAPIExpansion.cpp +++ b/runtime/compiler/optimizer/VectorAPIExpansion.cpp @@ -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);