This is an archive of the discontinued LLVM Phabricator instance.

[SveEmitter] Add SVE tuple types and builtins for svundef.

Authored by sdesmalen on Jun 9 2020, 4:59 AM.



This patch adds new SVE types to Clang that describe tuples of SVE
vectors. For example svint32x2_t which maps to the twice-as-wide
vector <vscale x 8 x i32>. Similarly, svint32x3_t will map to
<vscale x 12 x i32>.

It also adds builtins to return an undef vector for a given
SVE type.

Diff Detail

Event Timeline

sdesmalen created this revision.Jun 9 2020, 4:59 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: tschuett. · View Herald Transcript
c-rhodes accepted this revision.Jun 10 2020, 3:06 AM
This revision is now accepted and ready to land.Jun 10 2020, 3:06 AM
This revision was automatically updated to reflect the committed changes.