This is an archive of the discontinued LLVM Phabricator instance.

[ARM,MVE] Add the vrev16q, vrev32q, vrev64q family.
ClosedPublic

Authored by simon_tatham on Feb 10 2020, 8:53 AM.

Details

Summary

These intrinsics just reorder the lanes of a vector, so the natural IR
representation is as a shufflevector operation. Existing LLVM codegen
already recognizes those particular shufflevectors and generates the
MVE VREV instruction.

This commit adds the unpredicated forms only.

Diff Detail