HomePhabricator

Reapply "[X86] Limit X86InterleavedAccessGroup to handle the same type case…

Authored by pengfei on May 19 2021, 3:01 AM.

Description

Reapply "[X86] Limit X86InterleavedAccessGroup to handle the same type case only"

The current implementation assumes the destination type of shuffle is the same as the decomposed ones. Add the check to avoid crush when the condition is not satisfied.

This fixes PR37616.

Reviewed By: RKSimon

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