This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Add missing patterns for insert_subvector.
ClosedPublic

Authored by fhahn on Aug 16 2017, 8:39 AM.

Details

Summary

In some cases, shufflevector instruction can be transformed involving insert_subvector instructions. The ARM backend was missing some insert_subvector patterns, causing a failure during instruction selection. AArch64 has similar patterns.

Diff Detail

Event Timeline

fhahn created this revision.Aug 16 2017, 8:39 AM
javed.absar accepted this revision.Aug 18 2017, 12:57 AM

LGTM. Maybe elaborate a bit more on the summary part

This revision is now accepted and ready to land.Aug 18 2017, 12:57 AM
fhahn edited the summary of this revision. (Show Details)Aug 23 2017, 2:24 AM
fhahn closed this revision.Aug 23 2017, 3:21 AM