[PATCH] D12540: Add Myriad into enum VendorType.

Douglas Katzman via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 16:12:38 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL246732: Add Myriad into enum VendorType (authored by dougk).

Changed prior to commit:
  http://reviews.llvm.org/D12540?vs=33730&id=33876#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D12540

Files:
  llvm/trunk/include/llvm/ADT/Triple.h
  llvm/trunk/lib/Support/Triple.cpp

Index: llvm/trunk/include/llvm/ADT/Triple.h
===================================================================
--- llvm/trunk/include/llvm/ADT/Triple.h
+++ llvm/trunk/include/llvm/ADT/Triple.h
@@ -124,7 +124,8 @@
     MipsTechnologies,
     NVIDIA,
     CSR,
-    LastVendorType = CSR
+    Myriad,
+    LastVendorType = Myriad
   };
   enum OSType {
     UnknownOS,
Index: llvm/trunk/lib/Support/Triple.cpp
===================================================================
--- llvm/trunk/lib/Support/Triple.cpp
+++ llvm/trunk/lib/Support/Triple.cpp
@@ -144,6 +144,7 @@
   case MipsTechnologies: return "mti";
   case NVIDIA: return "nvidia";
   case CSR: return "csr";
+  case Myriad: return "myriad";
   }
 
   llvm_unreachable("Invalid VendorType!");
@@ -398,6 +399,7 @@
     .Case("mti", Triple::MipsTechnologies)
     .Case("nvidia", Triple::NVIDIA)
     .Case("csr", Triple::CSR)
+    .Case("myriad", Triple::Myriad)
     .Default(Triple::UnknownVendor);
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12540.33876.patch
Type: text/x-patch
Size: 968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150902/8da9a23e/attachment.bin>


More information about the llvm-commits mailing list