[llvm] r374639 - [lit] Remove setting of the target-windows feature

Martin Storsjo via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 23:40:24 PDT 2019


Author: mstorsjo
Date: Fri Oct 11 23:40:24 2019
New Revision: 374639

URL: http://llvm.org/viewvc/llvm-project?rev=374639&view=rev
Log:
[lit] Remove setting of the target-windows feature

No other OSes use a target-<os> feature, and no tests depend on it
any lomger.

Differential Revision: https://reviews.llvm.org/D68450

Modified:
    llvm/trunk/utils/lit/lit/llvm/config.py

Modified: llvm/trunk/utils/lit/lit/llvm/config.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/llvm/config.py?rev=374639&r1=374638&r2=374639&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/llvm/config.py (original)
+++ llvm/trunk/utils/lit/lit/llvm/config.py Fri Oct 11 23:40:24 2019
@@ -93,8 +93,6 @@ class LLVMConfig(object):
                         'ASAN_OPTIONS', 'detect_leaks=1', append_path=True)
             if re.match(r'^x86_64.*-linux', target_triple):
                 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):




More information about the llvm-commits mailing list