[llvm-commits] [llvm] r47143 - in /llvm/trunk: lib/Target/CellSPU/SPUSubtarget.h lib/Target/PowerPC/PPCAsmPrinter.cpp lib/Target/PowerPC/PPCSubtarget.cpp lib/Target/PowerPC/PPCSubtarget.h utils/TableGen/SubtargetEmitter.cpp

Chris Lattner clattner at apple.com
Thu Feb 14 18:51:04 PST 2008


On Feb 14, 2008, at 5:23 PM, Dale Johannesen wrote:
> n Feb 14, 2008, at 3:40 PM, Evan Cheng wrote:
>> Thanks. Since you are hacking on this, can you check something for  
>> me?
>> I seem to be getting this annoying warning (something like  
>> "generating
>> 64-bit code for 32-bit cpu") when I do (for example) -march=x86-64 -
>> mattr=-sse41. Any idea what's causing this bogus warning? Is it  
>> when -
>> mattr is used, it does not do auto CPU feature detection?
>>
>> Evan
>
> It's simpler than that, the "core2" table entry didn't say it has 64-
> bit support.  Fixed.
>
> This warning (PPC has it too) also comes out for cross compiles, which
> I suppose is accurate, but doesn't seem helpful.  Anybody for getting
> rid of it?

Please kill it, the code generator shouldn't print to stderr unless  
aborting.

-Chris



More information about the llvm-commits mailing list