[PATCH] Addition of 'sparcel' in one more place

Douglas Katzman dougk at google.com
Fri May 1 09:12:56 PDT 2015


Hi jyknight, venkatra,

Failed to add it to getArchTypeForLLVMName and mysteriously nothing broke.
This is just the minimal change to get 'llvm-mc' not to have brain-damaged behavior for certain combinations of arguments.

http://reviews.llvm.org/D9436

Files:
  lib/Support/Triple.cpp

Index: lib/Support/Triple.cpp
===================================================================
--- lib/Support/Triple.cpp
+++ lib/Support/Triple.cpp
@@ -212,6 +212,7 @@
     .Case("amdgcn", amdgcn)
     .Case("hexagon", hexagon)
     .Case("sparc", sparc)
+    .Case("sparcel", sparcel)
     .Case("sparcv9", sparcv9)
     .Case("systemz", systemz)
     .Case("tce", tce)

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9436.24808.patch
Type: text/x-patch
Size: 375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150501/4d75cf7d/attachment.bin>


More information about the llvm-commits mailing list