mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-22 10:33:23 +00:00
Add Imagination Technologies to the vendors in llvm::Triple
Summary: This is a pre-requisite for supporting the mips-img-linux-gnu triple in clang. Differential Revision: http://reviews.llvm.org/D4435 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212626 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7fba8d794f
commit
6a6556695e
@ -88,6 +88,7 @@ public:
|
||||
BGQ,
|
||||
Freescale,
|
||||
IBM,
|
||||
ImaginationTechnologies,
|
||||
NVIDIA
|
||||
};
|
||||
enum OSType {
|
||||
|
@ -115,6 +115,7 @@ const char *Triple::getVendorTypeName(VendorType Kind) {
|
||||
case BGQ: return "bgq";
|
||||
case Freescale: return "fsl";
|
||||
case IBM: return "ibm";
|
||||
case ImaginationTechnologies: return "img";
|
||||
case NVIDIA: return "nvidia";
|
||||
}
|
||||
|
||||
@ -292,6 +293,7 @@ static Triple::VendorType parseVendor(StringRef VendorName) {
|
||||
.Case("bgq", Triple::BGQ)
|
||||
.Case("fsl", Triple::Freescale)
|
||||
.Case("ibm", Triple::IBM)
|
||||
.Case("img", Triple::ImaginationTechnologies)
|
||||
.Case("nvidia", Triple::NVIDIA)
|
||||
.Default(Triple::UnknownVendor);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user