[PATCH] D122003: [Triple] Add support for more archs in `getArchTypeForLLVMName`

Antonio Frighetto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 18 07:57:54 PDT 2022


antoniofrighetto updated this revision to Diff 416507.
antoniofrighetto edited the summary of this revision.

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122003/new/

https://reviews.llvm.org/D122003

Files:
  llvm/lib/Support/Triple.cpp


Index: llvm/lib/Support/Triple.cpp
===================================================================
--- llvm/lib/Support/Triple.cpp
+++ llvm/lib/Support/Triple.cpp
@@ -317,13 +317,16 @@
     .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("x86_64", x86_64)
     .Case("xcore", xcore)
     .Case("nvptx", nvptx)
     .Case("nvptx64", nvptx64)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122003.416507.patch
Type: text/x-patch
Size: 636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220318/22b6f731/attachment.bin>


More information about the llvm-commits mailing list