llvm.org GIT mirror llvm / a11bf68
Add MIPS Technologies to the vendors in llvm::Triple. This is a prerequisite for checking for 'mti' and 'img' in a consistent way in clang. Previously 'img' could use Triple::getVendor() but 'mti' could only use Triple::getVendorName(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213381 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Sanders 5 years ago
2 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
104104 Freescale,
105105 IBM,
106106 ImaginationTechnologies,
107 MipsTechnologies,
107108 NVIDIA,
108109 CSR
109110 };
116116 case Freescale: return "fsl";
117117 case IBM: return "ibm";
118118 case ImaginationTechnologies: return "img";
119 case MipsTechnologies: return "mti";
119120 case NVIDIA: return "nvidia";
120121 case CSR: return "csr";
121122 }
297298 .Case("fsl", Triple::Freescale)
298299 .Case("ibm", Triple::IBM)
299300 .Case("img", Triple::ImaginationTechnologies)
301 .Case("mti", Triple::MipsTechnologies)
300302 .Case("nvidia", Triple::NVIDIA)
301303 .Case("csr", Triple::CSR)
302304 .Default(Triple::UnknownVendor);