[tests] Cleanup initialization of test suffixes.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 16 Aug 2013 00:37:11 +0000 (00:37 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 16 Aug 2013 00:37:11 +0000 (00:37 +0000)
 - Instead of setting the suffixes in a bunch of places, just set one master
   list in the top-level config. We now only modify the suffix list in a few
   suites that have one particular unique suffix (.ml, .mc, .yaml, .td, .py).

 - Aside from removing the need for a bunch of lit.local.cfg files, this enables
   4 tests that were inadvertently being skipped (one in
   Transforms/BranchFolding, a .s file each in DebugInfo/AArch64 and
   CodeGen/PowerPC, and one in CodeGen/SI which is now failing and has been
   XFAILED).

 - This commit also fixes a bunch of config files to use config.root instead of
   older copy-pasted code.

llvm-svn: 188513

157 files changed:
llvm/test/Analysis/BasicAA/lit.local.cfg [deleted file]
llvm/test/Analysis/BlockFrequencyInfo/lit.local.cfg [deleted file]
llvm/test/Analysis/BranchProbabilityInfo/lit.local.cfg [deleted file]
llvm/test/Analysis/CallGraph/lit.local.cfg [deleted file]
llvm/test/Analysis/CostModel/ARM/lit.local.cfg
llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg
llvm/test/Analysis/CostModel/X86/lit.local.cfg
llvm/test/Analysis/CostModel/lit.local.cfg [deleted file]
llvm/test/Analysis/DependenceAnalysis/lit.local.cfg [deleted file]
llvm/test/Analysis/Dominators/lit.local.cfg [deleted file]
llvm/test/Analysis/GlobalsModRef/lit.local.cfg [deleted file]
llvm/test/Analysis/LoopInfo/lit.local.cfg [deleted file]
llvm/test/Analysis/MemoryDependenceAnalysis/lit.local.cfg [deleted file]
llvm/test/Analysis/PostDominators/lit.local.cfg [deleted file]
llvm/test/Analysis/Profiling/lit.local.cfg
llvm/test/Analysis/RegionInfo/lit.local.cfg [deleted file]
llvm/test/Analysis/ScalarEvolution/lit.local.cfg [deleted file]
llvm/test/Analysis/TypeBasedAliasAnalysis/lit.local.cfg [deleted file]
llvm/test/Assembler/lit.local.cfg [deleted file]
llvm/test/Bindings/Ocaml/lit.local.cfg
llvm/test/Bitcode/lit.local.cfg [deleted file]
llvm/test/BugPoint/lit.local.cfg [deleted file]
llvm/test/CodeGen/AArch64/lit.local.cfg
llvm/test/CodeGen/ARM/lit.local.cfg
llvm/test/CodeGen/CPP/lit.local.cfg
llvm/test/CodeGen/Generic/lit.local.cfg [deleted file]
llvm/test/CodeGen/Hexagon/lit.local.cfg
llvm/test/CodeGen/MSP430/lit.local.cfg
llvm/test/CodeGen/Mips/lit.local.cfg
llvm/test/CodeGen/NVPTX/lit.local.cfg
llvm/test/CodeGen/PowerPC/lit.local.cfg
llvm/test/CodeGen/R600/lit.local.cfg
llvm/test/CodeGen/SI/lit.local.cfg [new file with mode: 0644]
llvm/test/CodeGen/SI/sanity.ll
llvm/test/CodeGen/SPARC/lit.local.cfg
llvm/test/CodeGen/SystemZ/lit.local.cfg
llvm/test/CodeGen/Thumb/lit.local.cfg
llvm/test/CodeGen/Thumb2/lit.local.cfg
llvm/test/CodeGen/X86/GC/lit.local.cfg
llvm/test/CodeGen/X86/lit.local.cfg
llvm/test/CodeGen/XCore/lit.local.cfg
llvm/test/DebugInfo/AArch64/lit.local.cfg
llvm/test/DebugInfo/Inputs/lit.local.cfg [deleted file]
llvm/test/DebugInfo/PowerPC/lit.local.cfg
llvm/test/DebugInfo/SystemZ/lit.local.cfg
llvm/test/DebugInfo/X86/lit.local.cfg
llvm/test/DebugInfo/lit.local.cfg [deleted file]
llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg
llvm/test/ExecutionEngine/RuntimeDyld/lit.local.cfg [deleted file]
llvm/test/ExecutionEngine/lit.local.cfg
llvm/test/Feature/lit.local.cfg [deleted file]
llvm/test/FileCheck/lit.local.cfg [deleted file]
llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
llvm/test/Instrumentation/AddressSanitizer/lit.local.cfg [deleted file]
llvm/test/Instrumentation/BoundsChecking/lit.local.cfg [deleted file]
llvm/test/Instrumentation/DataFlowSanitizer/lit.local.cfg [deleted file]
llvm/test/Instrumentation/MemorySanitizer/lit.local.cfg [deleted file]
llvm/test/Instrumentation/ThreadSanitizer/lit.local.cfg [deleted file]
llvm/test/Integer/lit.local.cfg [deleted file]
llvm/test/JitListener/lit.local.cfg
llvm/test/Linker/lit.local.cfg [deleted file]
llvm/test/MC/AArch64/lit.local.cfg
llvm/test/MC/ARM/AlignedBundling/lit.local.cfg
llvm/test/MC/ARM/lit.local.cfg
llvm/test/MC/AsmParser/lit.local.cfg
llvm/test/MC/COFF/lit.local.cfg
llvm/test/MC/Disassembler/AArch64/lit.local.cfg
llvm/test/MC/Disassembler/ARM/lit.local.cfg
llvm/test/MC/Disassembler/Mips/lit.local.cfg
llvm/test/MC/Disassembler/SystemZ/lit.local.cfg
llvm/test/MC/Disassembler/X86/lit.local.cfg
llvm/test/MC/Disassembler/XCore/lit.local.cfg
llvm/test/MC/ELF/lit.local.cfg
llvm/test/MC/MachO/ARM/lit.local.cfg
llvm/test/MC/MachO/lit.local.cfg
llvm/test/MC/Mips/lit.local.cfg
llvm/test/MC/PowerPC/lit.local.cfg
llvm/test/MC/SystemZ/lit.local.cfg
llvm/test/MC/X86/AlignedBundling/lit.local.cfg
llvm/test/MC/X86/lit.local.cfg
llvm/test/Object/Mips/lit.local.cfg
llvm/test/Object/X86/lit.local.cfg
llvm/test/Other/X86/lit.local.cfg
llvm/test/Other/lit.local.cfg [deleted file]
llvm/test/Transforms/ADCE/lit.local.cfg [deleted file]
llvm/test/Transforms/ArgumentPromotion/lit.local.cfg [deleted file]
llvm/test/Transforms/BBVectorize/lit.local.cfg
llvm/test/Transforms/BlockPlacement/lit.local.cfg [deleted file]
llvm/test/Transforms/CodeExtractor/lit.local.cfg [deleted file]
llvm/test/Transforms/CodeGenPrepare/lit.local.cfg [deleted file]
llvm/test/Transforms/ConstProp/lit.local.cfg [deleted file]
llvm/test/Transforms/ConstantMerge/lit.local.cfg [deleted file]
llvm/test/Transforms/CorrelatedValuePropagation/lit.local.cfg [deleted file]
llvm/test/Transforms/DeadArgElim/lit.local.cfg [deleted file]
llvm/test/Transforms/DeadStoreElimination/lit.local.cfg [deleted file]
llvm/test/Transforms/DebugIR/lit.local.cfg [deleted file]
llvm/test/Transforms/EarlyCSE/lit.local.cfg [deleted file]
llvm/test/Transforms/FunctionAttrs/lit.local.cfg [deleted file]
llvm/test/Transforms/GCOVProfiling/lit.local.cfg [deleted file]
llvm/test/Transforms/GVN/lit.local.cfg [deleted file]
llvm/test/Transforms/GlobalDCE/lit.local.cfg [deleted file]
llvm/test/Transforms/GlobalOpt/lit.local.cfg [deleted file]
llvm/test/Transforms/IPConstantProp/lit.local.cfg [deleted file]
llvm/test/Transforms/IndVarSimplify/lit.local.cfg [deleted file]
llvm/test/Transforms/Inline/lit.local.cfg [deleted file]
llvm/test/Transforms/InstCombine/lit.local.cfg [deleted file]
llvm/test/Transforms/InstSimplify/lit.local.cfg [deleted file]
llvm/test/Transforms/Internalize/lit.local.cfg [deleted file]
llvm/test/Transforms/JumpThreading/lit.local.cfg [deleted file]
llvm/test/Transforms/LCSSA/lit.local.cfg [deleted file]
llvm/test/Transforms/LICM/lit.local.cfg [deleted file]
llvm/test/Transforms/LoopDeletion/lit.local.cfg [deleted file]
llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg
llvm/test/Transforms/LoopIdiom/lit.local.cfg [deleted file]
llvm/test/Transforms/LoopRotate/lit.local.cfg [deleted file]
llvm/test/Transforms/LoopSimplify/lit.local.cfg [deleted file]
llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg
llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg
llvm/test/Transforms/LoopStrengthReduce/lit.local.cfg [deleted file]
llvm/test/Transforms/LoopUnroll/lit.local.cfg [deleted file]
llvm/test/Transforms/LoopUnswitch/lit.local.cfg [deleted file]
llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg
llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg
llvm/test/Transforms/LoopVectorize/lit.local.cfg [deleted file]
llvm/test/Transforms/LowerAtomic/lit.local.cfg [deleted file]
llvm/test/Transforms/LowerExpectIntrinsic/lit.local.cfg [deleted file]
llvm/test/Transforms/LowerInvoke/lit.local.cfg [deleted file]
llvm/test/Transforms/LowerSwitch/lit.local.cfg [deleted file]
llvm/test/Transforms/Mem2Reg/lit.local.cfg [deleted file]
llvm/test/Transforms/MemCpyOpt/lit.local.cfg [deleted file]
llvm/test/Transforms/MergeFunc/lit.local.cfg [deleted file]
llvm/test/Transforms/MetaRenamer/lit.local.cfg [deleted file]
llvm/test/Transforms/ObjCARC/lit.local.cfg [deleted file]
llvm/test/Transforms/PhaseOrdering/lit.local.cfg [deleted file]
llvm/test/Transforms/PruneEH/lit.local.cfg [deleted file]
llvm/test/Transforms/Reassociate/lit.local.cfg [deleted file]
llvm/test/Transforms/Reg2Mem/lit.local.cfg [deleted file]
llvm/test/Transforms/SCCP/lit.local.cfg [deleted file]
llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/lit.local.cfg [deleted file]
llvm/test/Transforms/SROA/lit.local.cfg [deleted file]
llvm/test/Transforms/ScalarRepl/lit.local.cfg [deleted file]
llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg
llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg
llvm/test/Transforms/SimplifyCFG/lit.local.cfg [deleted file]
llvm/test/Transforms/Sink/lit.local.cfg [deleted file]
llvm/test/Transforms/StripSymbols/lit.local.cfg [deleted file]
llvm/test/Transforms/StructurizeCFG/lit.local.cfg [deleted file]
llvm/test/Transforms/TailCallElim/lit.local.cfg [deleted file]
llvm/test/Transforms/TailDup/X86/lit.local.cfg
llvm/test/Transforms/TailDup/lit.local.cfg
llvm/test/Verifier/lit.local.cfg [deleted file]
llvm/test/lit.cfg
llvm/test/tools/llvm-lit/lit.local.cfg [deleted file]
llvm/test/tools/llvm-objdump/lit.local.cfg
llvm/test/tools/llvm-readobj/lit.local.cfg [deleted file]

diff --git a/llvm/test/Analysis/BasicAA/lit.local.cfg b/llvm/test/Analysis/BasicAA/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Analysis/BlockFrequencyInfo/lit.local.cfg b/llvm/test/Analysis/BlockFrequencyInfo/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Analysis/BranchProbabilityInfo/lit.local.cfg b/llvm/test/Analysis/BranchProbabilityInfo/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Analysis/CallGraph/lit.local.cfg b/llvm/test/Analysis/CallGraph/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index cb77b09ef4adbcf6481e27d0577855a7e17a8c36..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index 4019eca0bb88f9d2d741be6e5d5b1aec3965e291..2e463005586fceef2df7b17084f95d29e244c0b1 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'PowerPC' in targets:
     config.unsupported = True
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/llvm/test/Analysis/CostModel/lit.local.cfg b/llvm/test/Analysis/CostModel/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Analysis/DependenceAnalysis/lit.local.cfg b/llvm/test/Analysis/DependenceAnalysis/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/llvm/test/Analysis/Dominators/lit.local.cfg b/llvm/test/Analysis/Dominators/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Analysis/GlobalsModRef/lit.local.cfg b/llvm/test/Analysis/GlobalsModRef/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Analysis/LoopInfo/lit.local.cfg b/llvm/test/Analysis/LoopInfo/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Analysis/MemoryDependenceAnalysis/lit.local.cfg b/llvm/test/Analysis/MemoryDependenceAnalysis/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/llvm/test/Analysis/PostDominators/lit.local.cfg b/llvm/test/Analysis/PostDominators/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index d40fa4f9d3abdc8af0644f49636d05be452ac60e..5481b13ce03cf250469fbd08951d926863c3dd74 100644 (file)
@@ -1,11 +1,2 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-if 'hexagon' in root.target_triple:
+if 'hexagon' in config.root.target_triple:
     config.unsupported = True
diff --git a/llvm/test/Analysis/RegionInfo/lit.local.cfg b/llvm/test/Analysis/RegionInfo/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Analysis/ScalarEvolution/lit.local.cfg b/llvm/test/Analysis/ScalarEvolution/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/llvm/test/Analysis/TypeBasedAliasAnalysis/lit.local.cfg b/llvm/test/Analysis/TypeBasedAliasAnalysis/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Assembler/lit.local.cfg b/llvm/test/Assembler/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index 640c58d2f3d6e8938be6799bcfa15f5d3daf9777..ac9f3717b3750ecc76a7bce0c8329e0937ae582b 100644 (file)
@@ -1,4 +1,4 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.ml']
+config.suffixes = ['.ml']
 
 bindings = set([s.strip() for s in config.root.llvm_bindings.split(',')])
 if not 'ocaml' in bindings:
diff --git a/llvm/test/Bitcode/lit.local.cfg b/llvm/test/Bitcode/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/BugPoint/lit.local.cfg b/llvm/test/BugPoint/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index c5ce2411ed48c6d655b1ee4021089a67a1c7552c..9a66a00189eacfe2890dcf3443876ea2c35118ca 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'AArch64' in targets:
     config.unsupported = True
index 4d75f581a1d2581f7a3912f1bbac4d59f2f645d1..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index 4d4b4a4a7e21c1272e6411cace339a13796b7c64..4063dd1b8612ba600330b080301996bf8f6449dd 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'CppBackend' in targets:
     config.unsupported = True
diff --git a/llvm/test/CodeGen/Generic/lit.local.cfg b/llvm/test/CodeGen/Generic/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index 24324b2792e386aefa7fc7622592575c97e08138..e96bab818a3c84bb1cf83cb88bfd9e2ba4c1b595 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Hexagon' in targets:
     config.unsupported = True
index 0ca9fc9c6912c93f4d08e957a1086f870047ae7f..a18fe6f927d8804af6a1004f43b3bfc61f582b32 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'MSP430' in targets:
     config.unsupported = True
index e157c540b53833625b60559a9a771b13d594fcd7..1fa54b428cd97710d4ce5254475e5e5fefc01f61 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Mips' in targets:
     config.unsupported = True
index 7180c841d6e80bbb0c80fe093feb02b371dae376..85cf8c2c8c0705bbe5a9fa470ba3fccc0e0b5e82 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'NVPTX' in targets:
     config.unsupported = True
index aaa31d93d5f29563375ba937f20577a116b30f37..2e463005586fceef2df7b17084f95d29e244c0b1 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'PowerPC' in targets:
     config.unsupported = True
index 36ee493e59451e1ca2502bf6402f65a4f1c5e89e..2d8930ad0e88cb091229cfc035dae572f5f606ce 100644 (file)
@@ -1,13 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-targets = set(root.targets_to_build.split())
+targets = set(config.root.targets_to_build.split())
 if not 'R600' in targets:
     config.unsupported = True
-
diff --git a/llvm/test/CodeGen/SI/lit.local.cfg b/llvm/test/CodeGen/SI/lit.local.cfg
new file mode 100644 (file)
index 0000000..2d8930a
--- /dev/null
@@ -0,0 +1,3 @@
+targets = set(config.root.targets_to_build.split())
+if not 'R600' in targets:
+    config.unsupported = True
index 62cdcf5eca283104231cc1aa7c4acc727bc40cbc..80335fb3354be0b90107b1c580ae6f39ce0e0891 100644 (file)
@@ -1,4 +1,5 @@
 ;RUN: llc < %s -march=r600 -mcpu=SI | FileCheck %s
+;XFAIL: *
 
 ; CHECK: S_ENDPGM
 
index 6f30a8797967370cd46a7aa99153dbd90caa90c0..4d344fa91a9ea75d17bcc0e55beecfc9915fe29a 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Sparc' in targets:
     config.unsupported = True
index 79528d178f2317c3865fa89d538969d973e90603..b12af09434beaac3dfb7a08a7de0a0eec70ccc0c 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'SystemZ' in targets:
     config.unsupported = True
index 4d75f581a1d2581f7a3912f1bbac4d59f2f645d1..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index cb77b09ef4adbcf6481e27d0577855a7e17a8c36..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 9d285bf4e238d15d7d06af0160bdb679c461c563..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 8756f37fe8a186520c1a63aa59ce54f0cc9e76af..3e84c1befeab2dce33687d03f0a98bbc68ca53ed 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'XCore' in targets:
     config.unsupported = True
index c5ce2411ed48c6d655b1ee4021089a67a1c7552c..9a66a00189eacfe2890dcf3443876ea2c35118ca 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'AArch64' in targets:
     config.unsupported = True
diff --git a/llvm/test/DebugInfo/Inputs/lit.local.cfg b/llvm/test/DebugInfo/Inputs/lit.local.cfg
deleted file mode 100644 (file)
index e6f55ee..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
index 112a1c34564a4193c4de260a73aa98c45df05732..193ebebcd50eea3defa84d6a11b071d25a477f33 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'PowerPC' in targets:
     config.unsupported = True
index a70a6854381b8570f9bd261769125eb71c88c0f2..b12af09434beaac3dfb7a08a7de0a0eec70ccc0c 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'SystemZ' in targets:
     config.unsupported = True
index 60d66eae4953ccea985f060642e9023218905d1d..19840aa7574c5cc67795c6acfa928bb33513de0f 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/llvm/test/DebugInfo/lit.local.cfg b/llvm/test/DebugInfo/lit.local.cfg
deleted file mode 100644 (file)
index 00bd9b8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
index f21468ffa24108ce1621d0d94c861645862f3805..bad4c8cf39ac8e1ea35ef06f41da3b736587abbc 100644 (file)
@@ -1,12 +1,4 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
+root = config.root
 targets = set(root.targets_to_build.split())
 if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
    ('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets):
index 39b2a950ae344d6f5105074f2ed2166d1a6a8bcf..6b192ae44be7025bce111ba48b410a53736ffb0c 100644 (file)
@@ -1,11 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-if 'armv4' in root.target_triple or 'armv5' in root.target_triple:
+if 'armv4' in config.root.target_triple or \
+        'armv5' in config.root.target_triple:
     config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/lit.local.cfg
deleted file mode 100644 (file)
index df9b335..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.test']
index b6945adf015aabcbe5421ea158a64016b568e4e9..215ecaeeda0e60abd8e90e79fdf0dd33d71d99d4 100644 (file)
@@ -1,14 +1,5 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-if root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']:
+if config.root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']:
     config.unsupported = True
 
-if 'hexagon' in root.target_triple:
+if 'hexagon' in config.root.target_triple:
     config.unsupported = True
diff --git a/llvm/test/Feature/lit.local.cfg b/llvm/test/Feature/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/FileCheck/lit.local.cfg b/llvm/test/FileCheck/lit.local.cfg
deleted file mode 100644 (file)
index ee25f56..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.txt']
index b05ed3c77c166e52612e41e07dccba3fbac87e8b..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,13 +1,4 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-targets = set(root.targets_to_build.split())
+targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
 
diff --git a/llvm/test/Instrumentation/AddressSanitizer/lit.local.cfg b/llvm/test/Instrumentation/AddressSanitizer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Instrumentation/BoundsChecking/lit.local.cfg b/llvm/test/Instrumentation/BoundsChecking/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Instrumentation/DataFlowSanitizer/lit.local.cfg b/llvm/test/Instrumentation/DataFlowSanitizer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Instrumentation/MemorySanitizer/lit.local.cfg b/llvm/test/Instrumentation/MemorySanitizer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Instrumentation/ThreadSanitizer/lit.local.cfg b/llvm/test/Instrumentation/ThreadSanitizer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Integer/lit.local.cfg b/llvm/test/Integer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index a5aa6de182c4a194516f578e8ff524e809be897d..d995820bc3b6b806b269f7ff5e585383339cba87 100644 (file)
@@ -1,11 +1,3 @@
-config.suffixes = ['.ll']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-if not root.llvm_use_intel_jitevents == "ON":
+if not config.root.llvm_use_intel_jitevents == "ON":
     config.unsupported = True
 
diff --git a/llvm/test/Linker/lit.local.cfg b/llvm/test/Linker/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index cc02173c8ed4e4a139683a09858cff74416ae709..75dba81bc0b591a2e3b1497fdd867b18636e90c7 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'AArch64' in targets:
     config.unsupported = True
\ No newline at end of file
index 6c49f08b7496de4427c088baafd0bb242b8a42ac..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 57009139616f6e0164bd08f719fb2f156f688112..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index 6c49f08b7496de4427c088baafd0bb242b8a42ac..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 41a8434f99939c4a7ebf9421796d2b1c25f40cab..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s', '.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index f9df30e4d3df39e830d3cdffb173852ddc1857bb..9a66a00189eacfe2890dcf3443876ea2c35118ca 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'AArch64' in targets:
     config.unsupported = True
index 22a76e5cab2d072d047e06719f17a76b9db40e74..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index 9b698b2e6c411a92d00fe260a00e73ffada6e075..1fa54b428cd97710d4ce5254475e5e5fefc01f61 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Mips' in targets:
     config.unsupported = True
index 1da00eaef3e0c84e08b6cffe74fa1d5e5d2f379b..b12af09434beaac3dfb7a08a7de0a0eec70ccc0c 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'SystemZ' in targets:
     config.unsupported = True
index 6211b3e538537ac61aedc34d323d608d3f2e3bb3..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 15b65836e717d4b5c27114789e1740fbb90ffff3..4d17d464204559c0d647b9cd3791a9032e66f67d 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'XCore' in targets:
     config.unsupported = True
index 56bf00859572ea9eb8fd5c92474e897912286063..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 9f0d39d9217b422cd36c89a65c101318aed0ff43..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s', '.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index 41a8434f99939c4a7ebf9421796d2b1c25f40cab..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s', '.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index d2e3b28dbd863759e5eaabb68310a5bf70b23d91..1fa54b428cd97710d4ce5254475e5e5fefc01f61 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Mips' in targets:
     config.unsupported = True
index 88488cdd048e35634c9e927140549a92a404e138..193ebebcd50eea3defa84d6a11b071d25a477f33 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'PowerPC' in targets:
     config.unsupported = True
index abb697406d6fb7154fc55e2453c47b3e71ce44e5..b12af09434beaac3dfb7a08a7de0a0eec70ccc0c 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'SystemZ' in targets:
     config.unsupported = True
index 6c49f08b7496de4427c088baafd0bb242b8a42ac..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index ad280c7cf7dec927c610f8dabb6b6aff35fa31e0..19840aa7574c5cc67795c6acfa928bb33513de0f 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 149931749822b918ed6d0bb66430bc656f2d062c..88262fb1d3232872524bcd00617fad449e6aaf7d 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Mips' in targets:
     config.unsupported = True
index 6a29e9250f3c6d4deca16b895d11ea5ae4812f06..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index da2db5a45f9c6f855b64dd9e7362e1681c3fae6b..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/llvm/test/Other/lit.local.cfg b/llvm/test/Other/lit.local.cfg
deleted file mode 100644 (file)
index 67c7ec7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.txt', '.test']
diff --git a/llvm/test/Transforms/ADCE/lit.local.cfg b/llvm/test/Transforms/ADCE/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/ArgumentPromotion/lit.local.cfg b/llvm/test/Transforms/ArgumentPromotion/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/llvm/test/Transforms/BlockPlacement/lit.local.cfg b/llvm/test/Transforms/BlockPlacement/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/CodeExtractor/lit.local.cfg b/llvm/test/Transforms/CodeExtractor/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/CodeGenPrepare/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/llvm/test/Transforms/ConstProp/lit.local.cfg b/llvm/test/Transforms/ConstProp/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/ConstantMerge/lit.local.cfg b/llvm/test/Transforms/ConstantMerge/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/CorrelatedValuePropagation/lit.local.cfg b/llvm/test/Transforms/CorrelatedValuePropagation/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/llvm/test/Transforms/DeadArgElim/lit.local.cfg b/llvm/test/Transforms/DeadArgElim/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/DeadStoreElimination/lit.local.cfg b/llvm/test/Transforms/DeadStoreElimination/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/DebugIR/lit.local.cfg b/llvm/test/Transforms/DebugIR/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/llvm/test/Transforms/EarlyCSE/lit.local.cfg b/llvm/test/Transforms/EarlyCSE/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/llvm/test/Transforms/FunctionAttrs/lit.local.cfg b/llvm/test/Transforms/FunctionAttrs/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/GCOVProfiling/lit.local.cfg b/llvm/test/Transforms/GCOVProfiling/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/GVN/lit.local.cfg b/llvm/test/Transforms/GVN/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/GlobalDCE/lit.local.cfg b/llvm/test/Transforms/GlobalDCE/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/GlobalOpt/lit.local.cfg b/llvm/test/Transforms/GlobalOpt/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/IPConstantProp/lit.local.cfg b/llvm/test/Transforms/IPConstantProp/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/IndVarSimplify/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/Inline/lit.local.cfg b/llvm/test/Transforms/Inline/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/InstCombine/lit.local.cfg b/llvm/test/Transforms/InstCombine/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/InstSimplify/lit.local.cfg b/llvm/test/Transforms/InstSimplify/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/Internalize/lit.local.cfg b/llvm/test/Transforms/Internalize/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/JumpThreading/lit.local.cfg b/llvm/test/Transforms/JumpThreading/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/llvm/test/Transforms/LCSSA/lit.local.cfg b/llvm/test/Transforms/LCSSA/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/LICM/lit.local.cfg b/llvm/test/Transforms/LICM/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/LoopDeletion/lit.local.cfg b/llvm/test/Transforms/LoopDeletion/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/llvm/test/Transforms/LoopIdiom/lit.local.cfg b/llvm/test/Transforms/LoopIdiom/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/LoopRotate/lit.local.cfg b/llvm/test/Transforms/LoopRotate/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/LoopSimplify/lit.local.cfg b/llvm/test/Transforms/LoopSimplify/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index bac2ffab31d92d836cc058b16e6fbf6bf1e8b407..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index da2db5a45f9c6f855b64dd9e7362e1681c3fae6b..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/llvm/test/Transforms/LoopStrengthReduce/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/LoopUnroll/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/LoopUnswitch/lit.local.cfg b/llvm/test/Transforms/LoopUnswitch/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index cb77b09ef4adbcf6481e27d0577855a7e17a8c36..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/llvm/test/Transforms/LoopVectorize/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/LowerAtomic/lit.local.cfg b/llvm/test/Transforms/LowerAtomic/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/LowerExpectIntrinsic/lit.local.cfg b/llvm/test/Transforms/LowerExpectIntrinsic/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/llvm/test/Transforms/LowerInvoke/lit.local.cfg b/llvm/test/Transforms/LowerInvoke/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/LowerSwitch/lit.local.cfg b/llvm/test/Transforms/LowerSwitch/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/Mem2Reg/lit.local.cfg b/llvm/test/Transforms/Mem2Reg/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/MemCpyOpt/lit.local.cfg b/llvm/test/Transforms/MemCpyOpt/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/MergeFunc/lit.local.cfg b/llvm/test/Transforms/MergeFunc/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/MetaRenamer/lit.local.cfg b/llvm/test/Transforms/MetaRenamer/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/llvm/test/Transforms/ObjCARC/lit.local.cfg b/llvm/test/Transforms/ObjCARC/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/PhaseOrdering/lit.local.cfg b/llvm/test/Transforms/PhaseOrdering/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/PruneEH/lit.local.cfg b/llvm/test/Transforms/PruneEH/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/Reassociate/lit.local.cfg b/llvm/test/Transforms/Reassociate/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/Reg2Mem/lit.local.cfg b/llvm/test/Transforms/Reg2Mem/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/SCCP/lit.local.cfg b/llvm/test/Transforms/SCCP/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/SROA/lit.local.cfg b/llvm/test/Transforms/SROA/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/llvm/test/Transforms/ScalarRepl/lit.local.cfg b/llvm/test/Transforms/ScalarRepl/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
index 786fee9e6610b179bd3600780e9bd160ee3f58ff..4d344fa91a9ea75d17bcc0e55beecfc9915fe29a 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Sparc' in targets:
     config.unsupported = True
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/llvm/test/Transforms/SimplifyCFG/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/Sink/lit.local.cfg b/llvm/test/Transforms/Sink/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/StripSymbols/lit.local.cfg b/llvm/test/Transforms/StripSymbols/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/StructurizeCFG/lit.local.cfg b/llvm/test/Transforms/StructurizeCFG/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/llvm/test/Transforms/TailCallElim/lit.local.cfg b/llvm/test/Transforms/TailCallElim/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index da2db5a45f9c6f855b64dd9e7362e1681c3fae6b..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 18c604aba5672ea96628c75be8fc74c6e6c5ad46..19840aa7574c5cc67795c6acfa928bb33513de0f 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/llvm/test/Verifier/lit.local.cfg b/llvm/test/Verifier/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index abca7f7fa595ed7524820d4a205132bc5224d7a2..cd17be1fdbb767ce1cb577334855099b1b718a03 100644 (file)
@@ -41,12 +41,12 @@ config.test_format = lit.formats.ShTest(execute_external)
 
 # suffixes: A list of file extensions to treat as test files. This is overriden
 # by individual lit.local.cfg files in the test subdirectories.
-config.suffixes = []
+config.suffixes = ['.ll', '.c', '.cpp', '.test', '.txt', '.s']
 
 # excludes: A list of directories to exclude from the testsuite. The 'Inputs'
 # subdirectories contain auxiliary inputs for various tests in their parent
 # directories.
-config.excludes = ['Inputs']
+config.excludes = ['Inputs', 'CMakeLists.txt', 'README.txt', 'LICENSE.txt']
 
 # test_source_root: The root path where tests are located.
 config.test_source_root = os.path.dirname(__file__)
diff --git a/llvm/test/tools/llvm-lit/lit.local.cfg b/llvm/test/tools/llvm-lit/lit.local.cfg
deleted file mode 100644 (file)
index 856a549..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.c']
index 56bf00859572ea9eb8fd5c92474e897912286063..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/llvm/test/tools/llvm-readobj/lit.local.cfg b/llvm/test/tools/llvm-readobj/lit.local.cfg
deleted file mode 100644 (file)
index df9b335..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.test']