[LLVMdev] LLVM and newlib progress

Scott Michel scottm at rushg.aero.org
Thu Nov 9 11:50:48 PST 2006


Chris Lattner wrote:
> On Thu, 9 Nov 2006, Scott Michel wrote:
> 
>> BTW: Would be nice if the frontend defined a manifest constant if it is
>> generating byte code vice generating native. But that's a refinement for
>> another day...
> 
> 
> Why?  As an end user, I'd be very unhappy if I got different code from
> -emit-llvm + llc  then from normal llvm-gcc.

For example, I've been messing around with various high performance code
in which the codebase has three versions of code in certain functions:
one that uses AltiVec intrinsics, another that uses SSE[23] intrinsics,
and plain ol' C code.

Yes, llvm handles the intrinsics just fine but what about the case when
llvm can't/won't/doesn't?

Just a thought... I'm inclined to agree with you about bytecode
versions, since one ought not be messing around with bytecode-specific
anything. But knowing whether bytecode is being emitted could be useful.


-scooter



More information about the llvm-dev mailing list