[PATCH] D25136: [Triple] Add Facebook vendor
Shoaib Meenai via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 30 15:10:57 PDT 2016
smeenai created this revision.
smeenai added a reviewer: compnerd.
smeenai added a subscriber: llvm-commits.
Add a compiler vendor for Facebook, to enable future vendor-specific
behavior.
https://reviews.llvm.org/D25136
Files:
include/llvm/ADT/Triple.h
lib/Support/Triple.cpp
Index: lib/Support/Triple.cpp
===================================================================
--- lib/Support/Triple.cpp
+++ lib/Support/Triple.cpp
@@ -146,6 +146,7 @@
case SCEI: return "scei";
case BGP: return "bgp";
case BGQ: return "bgq";
+ case Facebook: return "facebook";
case Freescale: return "fsl";
case IBM: return "ibm";
case ImaginationTechnologies: return "img";
@@ -420,6 +421,7 @@
.Case("scei", Triple::SCEI)
.Case("bgp", Triple::BGP)
.Case("bgq", Triple::BGQ)
+ .Case("facebook", Triple::Facebook)
.Case("fsl", Triple::Freescale)
.Case("ibm", Triple::IBM)
.Case("img", Triple::ImaginationTechnologies)
Index: include/llvm/ADT/Triple.h
===================================================================
--- include/llvm/ADT/Triple.h
+++ include/llvm/ADT/Triple.h
@@ -126,6 +126,7 @@
SCEI,
BGP,
BGQ,
+ Facebook,
Freescale,
IBM,
ImaginationTechnologies,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25136.73153.patch
Type: text/x-patch
Size: 957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160930/67361853/attachment.bin>
More information about the llvm-commits
mailing list