X86: Promote i8 cmov when both operands are coming from truncates of the same width.
[oota-llvm.git] / test / lit.cfg
index 348ac8f622c7b8605ebca6990f9991aee8473273..dc37317ba95ae6234f017f31b2cbb41801aa13a8 100644 (file)
@@ -142,7 +142,7 @@ if config.test_exec_root is None:
 # Provide a target triple for mcjit tests
 mcjit_triple = config.target_triple
 # Force ELF format on Windows
-if 'win32' in mcjit_triple.lower():
+if re.search(r'cygwin|mingw32|win32', mcjit_triple):
   mcjit_triple += "-elf"
 config.substitutions.append( ('%mcjit_triple', mcjit_triple) )