]> granicus.if.org Git - clang/commit
Using ARMTargetParser in Clang
authorRenato Golin <renato.golin@linaro.org>
Fri, 8 May 2015 21:04:50 +0000 (21:04 +0000)
committerRenato Golin <renato.golin@linaro.org>
Fri, 8 May 2015 21:04:50 +0000 (21:04 +0000)
commit3d06cfd100a164add1d0d45bef419d5ce03eb339
treed2edea6c2ae078597c00d460f10e0157fa6e0488
parent09e9f31e461bea20e6b83aba0763bd68580f6bcb
Using ARMTargetParser in Clang

This is a starting point for using the TargetParser in Clang, in a simple
enough part of the code that can be used without disrupting the crazy
platform support that we need to be compatible with other toolchains.

Also adding a few FIXME on obvious places that need replacing, but those
cases will indeed break a few of the platform assumptions, as arch/cpu names
change multiple times in the driver.

Finally, I'm changing the "neon-vfpv3" behaviour to match standard NEON, since
-mfpu=neon implies vfpv3 by default in both Clang and LLVM. That option
string is still supported as an alias to "neon".

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236901 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp
lib/Driver/Tools.cpp
test/Driver/arm-mfpu.c