[cfe-commits] r68943 - /cfe/trunk/tools/clang-cc/clang-cc.cpp

Chris Lattner sabre at nondot.org
Sun Apr 12 23:33:49 PDT 2009


Author: lattner
Date: Mon Apr 13 01:33:49 2009
New Revision: 68943

URL: http://llvm.org/viewvc/llvm-project?rev=68943&view=rev
Log:
the driver caught up.  This makes -msse3 correctly set __SSE3__ etc.

Modified:
    cfe/trunk/tools/clang-cc/clang-cc.cpp

Modified: cfe/trunk/tools/clang-cc/clang-cc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-cc/clang-cc.cpp?rev=68943&r1=68942&r2=68943&view=diff

==============================================================================
--- cfe/trunk/tools/clang-cc/clang-cc.cpp (original)
+++ cfe/trunk/tools/clang-cc/clang-cc.cpp Mon Apr 13 01:33:49 2009
@@ -647,9 +647,7 @@
   // -mattr list is treated by the code generator as a diff against the -mcpu
   // setting, but the driver should pass all enabled options as "+" settings.
   // This means that the target should only look at + settings.
-  if (!TargetFeatures.empty()
-      // FIXME: The driver is not quite yet ready for this.
-      && 0) {
+  if (!TargetFeatures.empty()) {
     std::string ErrorStr;
     int Opt = Target->HandleTargetFeatures(&TargetFeatures[0],
                                            TargetFeatures.size(), ErrorStr);





More information about the cfe-commits mailing list