[PATCH]: finish .cpu support for ARM

Renato Golin renato.golin at linaro.org
Wed Dec 3 04:51:19 PST 2014


Hi Roman,

First, the test is very weak. It'd be good to show support for all our
supported CPUs, and error on small variants or garbage. Please split
in two files, one for what should work and another for what it
shouldn't.

Second, setting the feature bits is the wrong thing to do here, see
http://llvm.org/PR20757 and http://llvm.org/PR20787.

This has been done for fpu and arch, so having it for cpu won't be
terribly horrible, but the logic is broken. So, while having this
patch (with a more thorough test) would be ok, you should put a big
FIXME pointing to those two bugs.

I'll clear all of them up when I have the chance to work on this
again, so adding the cpu hack won't be worse than it already is.

thanks,
--renato

On 2 December 2014 at 19:23, Tim Northover <t.p.northover at gmail.com> wrote:
> On 2 December 2014 at 11:18, Roman Divacky <rdivacky at vlakno.cz> wrote:
>> Like this?
>
> Thanks. Yep, I think that looks reasonable now.
>
> Tim.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list