[PATCH] D60474: [llvm] [lit] Add target-x86* features
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 11 07:58:14 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL358177: [llvm] [lit] Add target-x86* features (authored by mgorny, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D60474?vs=194456&id=194689#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60474/new/
https://reviews.llvm.org/D60474
Files:
llvm/trunk/utils/lit/lit/llvm/config.py
Index: llvm/trunk/utils/lit/lit/llvm/config.py
===================================================================
--- llvm/trunk/utils/lit/lit/llvm/config.py
+++ llvm/trunk/utils/lit/lit/llvm/config.py
@@ -96,6 +96,10 @@
features.add('x86_64-linux')
if re.match(r'.*-windows-msvc$', target_triple):
features.add('target-windows')
+ if re.match(r'^i.86.*', target_triple):
+ features.add('target-x86')
+ elif re.match(r'^x86_64.*', target_triple):
+ features.add('target-x86_64')
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: D60474.194689.patch
Type: text/x-patch
Size: 697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190411/111f1b03/attachment.bin>
More information about the llvm-commits
mailing list