summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/TargetInfo.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-05-06 03:16:41 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-05-06 03:16:41 +0000
commit4dbaaa6f43adb0b80c9818d0b5f75ff04793bde3 (patch)
treead0691312af54ca924a634338411c87f2b460350 /clang/lib/Basic/TargetInfo.cpp
parentb2d4a52e3f94c3b7d5d13e5e6087ae7807a4e79c (diff)
downloadbcm5719-llvm-4dbaaa6f43adb0b80c9818d0b5f75ff04793bde3.tar.gz
bcm5719-llvm-4dbaaa6f43adb0b80c9818d0b5f75ff04793bde3.zip
Improve handling of (X86) target features.
- This is a WIP... - This adds -march= handling to the driver, and fixes the defaulting of -mcpu on Darwin (which was using the wrong test). Instead of handling -m{sse, ...} in the driver, pass them to clang-cc as -target-feature [+-]name In clang-cc, communicate with the (clang) target to discover the legal features of a target, and the features which are enabled based on -mcpu. This is currently hardcoded just enough to not be a feature regression, we need to get this information from the backend's TableGen information somehow. This is used to construct the full list of features which are being used, which is in turn used to initialize the predefines. llvm-svn: 71061
Diffstat (limited to 'clang/lib/Basic/TargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud