isReg() in AArch64AsmParser.cpp is a bit of a misnomer, and would be better named 'isScalarReg()' instead.
Patch [1/3] in a series to add operand constraint checks for SVE's predicated ADD/SUB.
Paths
| Differential D41445
[AArch64][AsmParser] Add isScalarReg() and repurpose isReg() ClosedPublic Authored by sdesmalen on Dec 20 2017, 6:40 AM.
Details Summary isReg() in AArch64AsmParser.cpp is a bit of a misnomer, and would be better named 'isScalarReg()' instead. Patch [1/3] in a series to add operand constraint checks for SVE's predicated ADD/SUB.
Diff Detail Event TimelineHerald added subscribers: kristof.beyls, javed.absar, aemerson. · View Herald TranscriptDec 20 2017, 6:40 AM Comment Actions LGTM. MCParsedAsmOperand::isReg should return true if the operand is a register operand, not only for scalar registers. This revision is now accepted and ready to land.Dec 21 2017, 3:17 AM
Revision Contents
Diff 127708 lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
|