]> granicus.if.org Git - llvm/commitdiff
[lit] Remove setting of the target-windows feature
authorMartin Storsjo <martin@martin.st>
Sat, 12 Oct 2019 06:40:24 +0000 (06:40 +0000)
committerMartin Storsjo <martin@martin.st>
Sat, 12 Oct 2019 06:40:24 +0000 (06:40 +0000)
No other OSes use a target-<os> feature, and no tests depend on it
any lomger.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374639 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/llvm/config.py

index 6a0bfa1b2073970a783d4def17a062944c0c877e..2f3ca961a28406411961d99eb229f93066abc8eb 100644 (file)
@@ -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):