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

Antonio Frighetto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 04:04:04 PDT 2022


antoniofrighetto updated this revision to Diff 417240.
antoniofrighetto retitled this revision from "[Triple] Add support for more archs in `getArchTypeForLLVMName`" to "Add support for more archs in `Triple::getArchTypeForLLVMName`".
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
@@ -330,12 +330,14 @@
     .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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122003.417240.patch
Type: text/x-patch
Size: 576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220322/693d6729/attachment.bin>


More information about the llvm-commits mailing list