[PATCH] [ARM] Use TargetParser to determine FPU subtarget features

Renato Golin renato.golin at linaro.org
Thu Jun 4 05:52:31 PDT 2015


Once http://reviews.llvm.org/D10237 is good, we'll look into this one.

Tests look ok, too.

cheers,
--renato


REPOSITORY
  rL LLVM

================
Comment at: lib/Driver/Tools.cpp:545
@@ -617,1 +544,3 @@
+  unsigned FPUID = llvm::ARMTargetParser::parseFPU(FPU);
+  if (!llvm::ARMTargetParser::getFPUFeatures(FPUID, Features))
     D.Diag(diag::err_drv_clang_unsupported) << A->getAsString(Args);
----------------
getFPUFeatures should probably go somewhere other than ARMTargetParser...

http://reviews.llvm.org/D10239

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list