[PATCH] code refactoring on ARMTargetInfo class

Renato Golin renato.golin at linaro.org
Thu Jul 2 02:09:37 PDT 2015


================
Comment at: lib/Basic/Targets.cpp:4160
@@ +4159,3 @@
+    if (Triple.getSubArch() == llvm::Triple::SubArchType::NoSubArch)
+      setArchInfo("armv6j");
+    else 
----------------
This seems quite arbitrary... Couldn't you return an empty string?

http://reviews.llvm.org/D10839

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






More information about the cfe-commits mailing list