Merge pull request #22463 from gita-omr/convert_transform_type · eclipse-openj9/openj9@95dc92c

File tree

1 file changed

lines changed

  • runtime/compiler/optimizer

1 file changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -3053,6 +3053,10 @@ TR::Node *TR_VectorAPIExpansion::naryIntrinsicHandler(TR_VectorAPIExpansion *opt

30533053

return NULL;

30543054
30553055

sourceVectorLength = OMR::DataType::bitsToVectorLength(bitsLength);

3056+
3057+

// transformation of convert() should happen based on the source type

3058+

elementType = sourceElementType;

3059+

vectorLength = sourceVectorLength;

30563060

}

30573061

else if (opCodeType == Compare)

30583062

{