[PATCH]: implement getRegisterByName() for sparc
Roman Divacky
rdivacky at vlakno.cz
Mon Dec 15 13:03:46 PST 2014
On Mon, Dec 15, 2014 at 08:22:36PM +0100, Joerg Sonnenberger wrote:
> 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?
Maybe.... I personally dont need that and I dont want to spend time on it.
Feel free to do it yourself though.
Roman
More information about the llvm-commits
mailing list