This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Patterns for VQSHRN
ClosedPublic

Authored by dmgreen on Apr 8 2020, 5:00 AM.

Details

Summary

Given a VQMOVN(VSHR), we can fold that into a VQSHRN simply enough using a few tablegen patterns.

Diff Detail

Event Timeline

dmgreen created this revision.Apr 8 2020, 5:00 AM

Are you missing top-half tests?

dmgreen updated this revision to Diff 260588.Apr 28 2020, 4:20 AM

I originally had these in the other order, having these patterns before the transforms that would create vqmovt's. I've switched the order, so the tests should now show it folding into vqshrnt.

Herald added a project: Restricted Project. · View Herald TranscriptApr 28 2020, 4:20 AM
samparker accepted this revision.May 14 2020, 6:19 AM

Cheers.

This revision is now accepted and ready to land.May 14 2020, 6:19 AM
This revision was automatically updated to reflect the committed changes.