diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-07-18 15:05:38 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-07-18 15:05:38 +0000 |
commit | 492beb1ad3775ccbf175b9c97f4607d363daa8d5 (patch) | |
tree | bb90530071baba30a603bd87dc8cb158006b289a /clang | |
parent | a8df247f5a5b193e62b93e5a6c063a0979dd5521 (diff) | |
download | llvm-492beb1ad3775ccbf175b9c97f4607d363daa8d5.zip llvm-492beb1ad3775ccbf175b9c97f4607d363daa8d5.tar.gz llvm-492beb1ad3775ccbf175b9c97f4607d363daa8d5.tar.bz2 |
[mips] Use Triple::getVendor() instead of Triple::getVendorName() to identify 'mti' vendor triples.
llvm-svn: 213383
Diffstat (limited to 'clang')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index d436ce6..e9d740b 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -5327,7 +5327,7 @@ bool mips::isNaN2008(const ArgList &Args, const llvm::Triple &Triple) { bool mips::isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName, StringRef ABIName) { if (Triple.getVendor() != llvm::Triple::ImaginationTechnologies && - Triple.getVendorName() != "mti") + Triple.getVendor() != llvm::Triple::MipsTechnologies) return false; if (ABIName != "32") |