This is an archive of the discontinued LLVM Phabricator instance.

[mips] Allow $AT to be used as a register name
ClosedPublic

Authored by stanislav.ocovaj on Jun 19 2017, 5:54 AM.

Details

Summary

This patch allows $AT to be used as a register name in assembly files. Currently only $at is recognized as a valid register name.

Diff Detail

Repository
rL LLVM

Event Timeline

sdardis accepted this revision.Jun 19 2017, 6:23 AM

Nit inlined.

Also you should extend test/MC/Mips/mips64-register-names-{n32-n64,o32}.s .

LGTM with those nits addressed.

lib/Target/Mips/AsmParser/MipsAsmParser.cpp
5109–5110 ↗(On Diff #103026)

.Cases("at", "AT", 1) instead.

This revision is now accepted and ready to land.Jun 19 2017, 6:23 AM
stanislav.ocovaj marked an inline comment as done.
This revision was automatically updated to reflect the committed changes.