[llvm-commits] [llvm] r72593 - in /llvm/trunk/lib/Target/ARM: ARM.td ARMInstrInfo.td ARMInstrThumb2.td ARMSubtarget.cpp ARMSubtarget.h

Evan Cheng evan.cheng at apple.com
Sat May 30 15:23:05 PDT 2009



Sent from my iPhone

On May 30, 2009, at 1:51 PM, Anton Korobeynikov  
<anton at korobeynikov.info> wrote:

> Hello, Evan
>
>> That's an unfortunate workaround for lto. When the linker invokes the
>> code generator it doesn't know the arm variant to set the right
>> attributes. Yes, it should be fixed one day by encoding them as
>> function notes.
> But how it would handle FP-related stuff then (hard vs soft)? And also
> whether it's allowed to use Thumb2.... It seems that we need to encode
> this into target triple then.
>

We can't possibly encode all of these I to triplet. The arm version is  
a different issue because it's in encoded in the macho header.

Evan

> -- 
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State  
> University
> _______________________________________________
> 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