[llvm-commits] [llvm] r124995 - in /llvm/trunk: lib/Target/ARM/ARMAsmPrinter.cpp lib/Target/ARM/ARMBuildAttrs.h test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll test/CodeGen/ARM/2010-10-19-mc-elf-objheader.ll

Jason Kim jasonwkim at google.com
Mon Feb 7 00:14:16 PST 2011


On Sun, Feb 6, 2011 at 11:26 PM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
>> I am not sure what you mean here. see below.
> The code below this hunk does the emission of attributes basing on the
> subtarget features. It seems that 2/3 of the stuff you're emitting via
> processor-name lookup can be implemented looking over the features as
> well (e.g. arch version, ISA, etc.)

Ahh. Good point. Certainly seems worth while to go that way.

I needed to get one corner case (cortexa8) working for testing
purposes, which were a set of defaults in the .s -> .o case from gcc
depending solely upon .cpu name -
(it didn't look like cpu name by itself sets any subtarget features on
llvm, so I guess that needs to be coded first ?)

thanks!
-jason

>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>



More information about the llvm-commits mailing list