Add a register class for SVE predicate operands that can only be p0-p7 (as opposed to p0-p15)
Patch [1/3] in a series to add predicated ADD/SUB instructions for SVE.
Paths
| Differential D41441
[AArch64][SVE] Asm: Add restricted register classes for SVE predicate vectors. ClosedPublic Authored by sdesmalen on Dec 20 2017, 6:27 AM.
Details Summary Add a register class for SVE predicate operands that can only be p0-p7 (as opposed to p0-p15) Patch [1/3] in a series to add predicated ADD/SUB instructions for SVE.
Diff Detail Event TimelineHerald added subscribers: kristof.beyls, tschuett, javed.absar, aemerson. · View Herald TranscriptDec 20 2017, 6:27 AM sdesmalen added a child revision: D41443: [AArch64][SVE] Asm: Add predicated ADD/SUB instructions.Dec 20 2017, 6:28 AM Comment Actions Looks reasonable to me. Adding a couple of more people who might have additional suggestions.
This revision is now accepted and ready to land.Jan 2 2018, 9:09 AM
Revision Contents
Diff 127699 lib/Target/AArch64/AArch64RegisterInfo.td
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
|
Looks like some code duplication between PPR and PPR_3b could be factored out by creating an intermediate class. You may want to consider it.