[PATCH] Default to armv7 cpu for NaCl when march=arm

Derek Schuff dschuff at google.com
Thu Mar 26 13:01:10 PDT 2015


- move logic to fallback case


http://reviews.llvm.org/D8589

Files:
  lib/Support/Triple.cpp

Index: lib/Support/Triple.cpp
===================================================================
--- lib/Support/Triple.cpp
+++ lib/Support/Triple.cpp
@@ -1137,6 +1137,8 @@
     default:
       return "strongarm";
     }
+  case llvm::Triple::NaCl:
+    return "cortex-a8";
   default:
     switch (getEnvironment()) {
     case llvm::Triple::EABIHF:

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8589.22749.patch
Type: text/x-patch
Size: 352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150326/e54dc6e4/attachment.bin>


More information about the llvm-commits mailing list