[DivergenceAnalysis] fix a bug in computing influence regions
[oota-llvm.git] / test / lit.cfg
index 3f710debf23a36cb83d3b2f9615111be15781246..b77f892d4d9225289b5887910672f989119630ef 100644 (file)
@@ -374,6 +374,10 @@ if config.target_triple:
 if config.host_triple == config.target_triple:
     config.available_features.add("native")
 
+# Not set for targeting tls-incapable targets.
+if not re.match(r'.*-cygwin$', config.target_triple):
+    config.available_features.add('tls')
+
 import subprocess
 
 def have_ld_plugin_support():