[llvm] r236322 - Fix omission from adding sparcel (original http://reviews.llvm.org/D9263)
Douglas Katzman
dougk at google.com
Fri May 1 09:49:58 PDT 2015
Author: dougk
Date: Fri May 1 11:49:58 2015
New Revision: 236322
URL: http://llvm.org/viewvc/llvm-project?rev=236322&view=rev
Log:
Fix omission from adding sparcel (original http://reviews.llvm.org/D9263)
"obviously" it needs to go in parseArch *and* getArchTypeForLLVMName.
Differential Revision: http://reviews.llvm.org/D9436
Modified:
llvm/trunk/lib/Support/Triple.cpp
Modified: llvm/trunk/lib/Support/Triple.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Triple.cpp?rev=236322&r1=236321&r2=236322&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Triple.cpp (original)
+++ llvm/trunk/lib/Support/Triple.cpp Fri May 1 11:49:58 2015
@@ -212,6 +212,7 @@ Triple::ArchType Triple::getArchTypeForL
.Case("amdgcn", amdgcn)
.Case("hexagon", hexagon)
.Case("sparc", sparc)
+ .Case("sparcel", sparcel)
.Case("sparcv9", sparcv9)
.Case("systemz", systemz)
.Case("tce", tce)
More information about the llvm-commits
mailing list