[PATCH] [AArch64] Implement Clang CLI interface proposal about "-march".
Renato Golin
renato.golin at linaro.org
Tue Jul 1 03:29:25 PDT 2014
On 1 July 2014 10:55, Kevin Qin <kevinqindev at gmail.com> wrote:
> It's deprecated. Any use of "-mfpu" on AArch64 target will provide an
> warning "argument unused during compilation" and won't block compiling
> process. So most build systems can still work well except receiving a lot of
> warnings.
It might not block the compilation process, but it might break the
linking process (build attributes, libraries), or change code
generation, with regards to vectorization and optimizations. I agree
this is not critical, but it's the kind of bug that is hard to find
(as opposed to a compilation error), and the kind of warnings that
people tend not to look at.
I have no more arguments against the removal, and I don't feel too bad
about it, but was just raising the issue. If people think it's for the
best, I'll go with it.
> Gcc can accept "-mcpu" with modifiers.
Hum... ok, I had no idea, and from their docs, it's not clear also. In
that case, fine by me.
Thanks for threading this awkward minefield! I think Tim and others
more involved in the AArch64 port should have a final look, but from
what you discussed, I have no more objections.
cheers,
--renato
More information about the llvm-commits
mailing list