forked from OSchip/llvm-project
Add support for more archs in `Triple::getArchTypeForLLVMName`
Add support for i386, s390x in Triple::getArchTypeForLLVMName. Differential Revision: https://reviews.llvm.org/D122003
This commit is contained in:
parent
153431ec7a
commit
060ff66337
|
@ -337,12 +337,14 @@ Triple::ArchType Triple::getArchTypeForLLVMName(StringRef Name) {
|
|||
.Case("sparc", sparc)
|
||||
.Case("sparcel", sparcel)
|
||||
.Case("sparcv9", sparcv9)
|
||||
.Case("s390x", systemz)
|
||||
.Case("systemz", systemz)
|
||||
.Case("tce", tce)
|
||||
.Case("tcele", tcele)
|
||||
.Case("thumb", thumb)
|
||||
.Case("thumbeb", thumbeb)
|
||||
.Case("x86", x86)
|
||||
.Case("i386", x86)
|
||||
.Case("x86-64", x86_64)
|
||||
.Case("xcore", xcore)
|
||||
.Case("nvptx", nvptx)
|
||||
|
|
Loading…
Reference in New Issue