[PATCH] D149746: [PowerPC][lit] Recognize triple ppc64le.*-linux

Tulio Magno Quites Machado Filho via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 09:30:45 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7f9b0685061a: [PowerPC][lit] Recognize triple ppc64le.*-linux (authored by tuliom).

Changed prior to commit:
  https://reviews.llvm.org/D149746?vs=519057&id=523823#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149746

Files:
  llvm/utils/lit/lit/llvm/config.py


Index: llvm/utils/lit/lit/llvm/config.py
===================================================================
--- llvm/utils/lit/lit/llvm/config.py
+++ llvm/utils/lit/lit/llvm/config.py
@@ -147,6 +147,8 @@
                 features.add("target-aarch64")
             elif re.match(r"^arm.*", target_triple):
                 features.add("target-arm")
+            if re.match(r'^ppc64le.*-linux', target_triple):
+                features.add('target=powerpc64le-linux')
 
         use_gmalloc = lit_config.params.get("use_gmalloc", None)
         if lit.util.pythonize_bool(use_gmalloc):


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149746.523823.patch
Type: text/x-patch
Size: 589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230519/eaeb5e7d/attachment.bin>


More information about the llvm-commits mailing list