[PATCH] Using ARMTargetParser in Clang
Renato Golin
renato.golin at linaro.org
Thu May 7 03:19:24 PDT 2015
Hi echristo, rnk, t.p.northover, john.brawn, meadori,
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".
This patch depends on D9435 for support in LLVM.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9549
Files:
lib/Driver/ToolChains.cpp
lib/Driver/Tools.cpp
test/Driver/arm-mfpu.c
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9549.25148.patch
Type: text/x-patch
Size: 13059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150507/030c5c8d/attachment.bin>
More information about the cfe-commits
mailing list