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.
Differential D102751
[X86] Limit X86InterleavedAccessGroup to handle the same type case only pengfei on May 19 2021, 1:47 AM. Authored by
Details 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.
Diff Detail
Event TimelineComment Actions Sorry @pengfei but I'm seeing this after this patch (possibly only on EXPENSIVE_CHECKS?) Pass modifies its input and doesn't report it: Interleaved Access Pass Pass modifies its input and doesn't report it UNREACHABLE executed at E:\llvm\llvm-project\llvm\lib\IR\LegacyPassManager.cpp:1445! PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. |