[llvm-commits] [llvm-gcc-4.2] r118233 - in /llvm-gcc-4.2/trunk/gcc/config/arm: arm.c arm.h

Eric Christopher echristo at apple.com
Sun Nov 7 01:14:40 PST 2010


On Nov 7, 2010, at 1:07 AM, Anton Korobeynikov wrote:

> Hi Eric,
> 
>> Use the arch to set the architecture, not the mtune value.
> This at least breaks the buildbot :)
> The actual problem is that now you cannot configure llvm-gcc with
> setting just cpu (which matches gcc's behavior)

Hmm? I haven't seen anything from the bots, but the existing behavior was broken as well, and arguably worse - -mtune shouldn't set the architecture :)

If you file a bug I'll try to get it where -mcpu will set arch and tune if -march isn't passed and -mtune aren't passed.

The arm port is just broken if it tries anything else.

-eric



More information about the llvm-commits mailing list