This is an archive of the discontinued LLVM Phabricator instance.

[SLP] Added test to check resulting mask in shufflevector as per order of phinodes
ClosedPublic

Authored by skc7 on Oct 23 2022, 8:42 AM.

Details

Summary

The order of phinodes decides the resulting mask of shuffle vector after vectorization.
This patch adds a test to check the mask of shufflevector with initial order of phinodes and then with reverse order of phis.

Diff Detail