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

Anton Korobeynikov anton at korobeynikov.info
Sun Nov 7 01:29:53 PST 2010


> 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.
The problem with your commit is the following: when I just set -mcpu
LLVM emits wrong cpu into .s file (e.g. with -mcpu=cortex-a8 it emits
.cpu arm7tdmi into .s file)

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



More information about the llvm-commits mailing list