[PATCH]: implement getRegisterByName() for sparc

Joerg Sonnenberger joerg at britannica.bec.de
Mon Dec 15 11:22:36 PST 2014


On Mon, Dec 15, 2014 at 07:48:19PM +0100, Roman Divacky wrote:
> The attached test implements getRegisterByName() for sparc
> for g5/g6/g7. This is needed for compiling freebsd kernel.

Any reason for not doing it completely for all the i/o/l/g variants?
Switch on the first char and adding adding the difference of '0' and the
second after checking it is <= 7 should be easy enough? Could this be
obtained from TableGen?

Joerg



More information about the llvm-commits mailing list