This is an archive of the discontinued LLVM Phabricator instance.

Don't expand bswap with shuffle of illegal vector type.
AbandonedPublic

Authored by arsenm on Jun 26 2014, 11:46 PM.

Details

Reviewers
None
Summary

Vector operations are legalized after types, so it isn't
OK to introduce a new illegal type. On R600, an i32 vector and
shuffle is always legal, but the produced vNi8 vector is not.

This is already covered by the existing R600 bswap test
combined with a future patch which exposes this problem.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 10912.Jun 26 2014, 11:46 PM
arsenm retitled this revision from to Don't expand bswap with shuffle of illegal vector type..
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a subscriber: Unknown Object (MLST).
arsenm abandoned this revision.Nov 13 2014, 1:44 PM