This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen][SVE] Lowering of shift operations with scalable types
ClosedPublic

Authored by kmclaughlin on May 6 2020, 4:21 AM.

Details

Summary

Adds AArch64ISD nodes for:

  • SHL_PRED (logical shift left)
  • SHR_PRED (logical shift right)
  • SRA_PRED (arithmetic shift right)

Existing patterns for unpredicated left shift by immediate
have also been moved into the appropriate multiclasses
in SVEInstrFormats.td.

Diff Detail

Event Timeline

kmclaughlin created this revision.May 6 2020, 4:21 AM
Herald added a project: Restricted Project. · View Herald Transcript
efriedma accepted this revision.May 6 2020, 8:55 AM

LGTM

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