This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE2p1] Add SVE2.1 while (predicate-pair) intrinsics

Authored by david-arm on Jan 17 2023, 7:38 AM.



Adds intrinsics for the following instructions:

  • WHILEGE (predicate pair)
  • WHILEGT (predicate pair)
  • WHILEHI (predicate pair)
  • WHILEHS (predicate pair)
  • WHILELE (predicate pair)
  • WHILELO (predicate pair)
  • WHILELS (predicate pair)
  • WHILELT (predicate pair)

I've added an opcode selector called SelectOpcodeFromVT to
AArch64ISelDAGToDAG.cpp that we will extend in future to
select opcodes from different MVTs. For now, the only use is
for selecting predicate types.

NOTE: These intrinsics are still in development and are subject to future changes.

Diff Detail

Event Timeline

david-arm created this revision.Jan 17 2023, 7:38 AM
david-arm requested review of this revision.Jan 17 2023, 7:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 17 2023, 7:38 AM
This revision is now accepted and ready to land.Jan 18 2023, 7:18 AM
This revision was landed with ongoing or failed builds.Jan 19 2023, 1:32 AM
This revision was automatically updated to reflect the committed changes.