[PATCH] TargetParser prototype - NFC (ARM only)

Renato Golin renato.golin at linaro.org
Fri May 1 12:26:49 PDT 2015

On 1 May 2015 at 20:20, Meador Inge <meadori at gmail.com> wrote:
> I am very interested in cleaning up -march as well.  I have been
> experimenting with some local patches to allow for proper -march
> handling where -mcpu isn't magically applied when *only* -march is
> specified.  I am interested in allowing for architecture level code
> generation, which currently is impossible because 1) we always compute
> the current CPU (sometimes incorrectly) and 2) we don't currently
> support generating '.arch' in the ARM backend.

Hi Meador, that is precisely the point of these changes. :)

My next change it to use this API in Clang, to replace mfpu / march
options. I think there will be a lot missing that Clang accepts and
the assembler doesn't. But that's where we need to come with a common
approach, so both can support all choices (where valid).


More information about the cfe-commits mailing list