The register names t4-t7 are not available in the N32 and N64 ABIs.
This patch prints a warning, when those names are used in N32/64,
along with a fix-it with the correct register names.
Depends on D5270
Paths
| Differential D5272
[mips] Print warning when using register names not available in N32/64 ClosedPublic Authored by vkalintiris on Sep 9 2014, 8:33 AM.
Details Summary The register names t4-t7 are not available in the N32 and N64 ABIs. Depends on D5270
Diff Detail Event Timelinevkalintiris retitled this revision from to [mips] Print warning when using register names not available in N32/64. vkalintiris updated this object. vkalintiris added a parent revision: D5270: [mips] Use early exit in MipsAsmParser::matchCPURegisterName(). NFC.. This revision is now accepted and ready to land.Sep 11 2014, 7:33 AM vkalintiris edited edge metadata. Comment ActionsRenamed getRange() to getLocRange() and added an assert for the FixedName string. dsanders edited edge metadata. Comment ActionsThanks. I nearly forgot about this: We need to send it to the list since it touches common code but I'll be happy to LGTM it properly once I see it there. This revision now requires changes to proceed.Sep 14 2014, 7:20 AM This revision is now accepted and ready to land.Sep 29 2014, 7:05 AM
Revision Contents
Diff 13472 include/llvm/MC/MCParser/MCAsmLexer.h
lib/MC/MCParser/MCAsmLexer.cpp
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
test/MC/Mips/mips64-register-names-n32-n64.s
|
I'd spell this 'getLocRange()'