HomePhabricator

[X86]Fix a crash trying to convert indices to proper type.

Authored by ABataev on May 4 2021, 7:48 AM.

Description

[X86]Fix a crash trying to convert indices to proper type.

Need to perfortm a bitcast on IndicesVec rather than subvector extract
if the original size of the IndicesVec is the same as the size of the

destination type.

Differential Revision: https://reviews.llvm.org/D101838