From 9efbedfd352e2cff67c5b9e10c5e22c392008ce5 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 16 Aug 2013 00:37:11 +0000 Subject: [PATCH] [tests] Cleanup initialization of test suffixes. - 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 --- llvm/test/Analysis/BasicAA/lit.local.cfg | 1 - llvm/test/Analysis/BlockFrequencyInfo/lit.local.cfg | 1 - .../Analysis/BranchProbabilityInfo/lit.local.cfg | 1 - llvm/test/Analysis/CallGraph/lit.local.cfg | 1 - llvm/test/Analysis/CostModel/ARM/lit.local.cfg | 2 -- llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg | 2 -- llvm/test/Analysis/CostModel/X86/lit.local.cfg | 2 -- llvm/test/Analysis/CostModel/lit.local.cfg | 1 - llvm/test/Analysis/DependenceAnalysis/lit.local.cfg | 1 - llvm/test/Analysis/Dominators/lit.local.cfg | 1 - llvm/test/Analysis/GlobalsModRef/lit.local.cfg | 1 - llvm/test/Analysis/LoopInfo/lit.local.cfg | 1 - .../Analysis/MemoryDependenceAnalysis/lit.local.cfg | 1 - llvm/test/Analysis/PostDominators/lit.local.cfg | 1 - llvm/test/Analysis/Profiling/lit.local.cfg | 11 +---------- llvm/test/Analysis/RegionInfo/lit.local.cfg | 1 - llvm/test/Analysis/ScalarEvolution/lit.local.cfg | 1 - .../Analysis/TypeBasedAliasAnalysis/lit.local.cfg | 1 - llvm/test/Assembler/lit.local.cfg | 1 - llvm/test/Bindings/Ocaml/lit.local.cfg | 2 +- llvm/test/Bitcode/lit.local.cfg | 1 - llvm/test/BugPoint/lit.local.cfg | 1 - llvm/test/CodeGen/AArch64/lit.local.cfg | 2 -- llvm/test/CodeGen/ARM/lit.local.cfg | 2 -- llvm/test/CodeGen/CPP/lit.local.cfg | 2 -- llvm/test/CodeGen/Generic/lit.local.cfg | 1 - llvm/test/CodeGen/Hexagon/lit.local.cfg | 2 -- llvm/test/CodeGen/MSP430/lit.local.cfg | 2 -- llvm/test/CodeGen/Mips/lit.local.cfg | 2 -- llvm/test/CodeGen/NVPTX/lit.local.cfg | 2 -- llvm/test/CodeGen/PowerPC/lit.local.cfg | 2 -- llvm/test/CodeGen/R600/lit.local.cfg | 12 +----------- llvm/test/CodeGen/SI/lit.local.cfg | 3 +++ llvm/test/CodeGen/SI/sanity.ll | 1 + llvm/test/CodeGen/SPARC/lit.local.cfg | 2 -- llvm/test/CodeGen/SystemZ/lit.local.cfg | 2 -- llvm/test/CodeGen/Thumb/lit.local.cfg | 2 -- llvm/test/CodeGen/Thumb2/lit.local.cfg | 2 -- llvm/test/CodeGen/X86/GC/lit.local.cfg | 2 -- llvm/test/CodeGen/X86/lit.local.cfg | 2 -- llvm/test/CodeGen/XCore/lit.local.cfg | 2 -- llvm/test/DebugInfo/AArch64/lit.local.cfg | 2 -- llvm/test/DebugInfo/Inputs/lit.local.cfg | 1 - llvm/test/DebugInfo/PowerPC/lit.local.cfg | 2 -- llvm/test/DebugInfo/SystemZ/lit.local.cfg | 2 -- llvm/test/DebugInfo/X86/lit.local.cfg | 2 -- llvm/test/DebugInfo/lit.local.cfg | 1 - llvm/test/ExecutionEngine/MCJIT/lit.local.cfg | 10 +--------- .../test/ExecutionEngine/MCJIT/remote/lit.local.cfg | 12 ++---------- llvm/test/ExecutionEngine/RuntimeDyld/lit.local.cfg | 1 - llvm/test/ExecutionEngine/lit.local.cfg | 13 ++----------- llvm/test/Feature/lit.local.cfg | 1 - llvm/test/FileCheck/lit.local.cfg | 1 - .../AddressSanitizer/X86/lit.local.cfg | 11 +---------- .../Instrumentation/AddressSanitizer/lit.local.cfg | 1 - .../Instrumentation/BoundsChecking/lit.local.cfg | 1 - .../Instrumentation/DataFlowSanitizer/lit.local.cfg | 1 - .../Instrumentation/MemorySanitizer/lit.local.cfg | 1 - .../Instrumentation/ThreadSanitizer/lit.local.cfg | 1 - llvm/test/Integer/lit.local.cfg | 1 - llvm/test/JitListener/lit.local.cfg | 10 +--------- llvm/test/Linker/lit.local.cfg | 1 - llvm/test/MC/AArch64/lit.local.cfg | 2 -- llvm/test/MC/ARM/AlignedBundling/lit.local.cfg | 2 -- llvm/test/MC/ARM/lit.local.cfg | 2 -- llvm/test/MC/AsmParser/lit.local.cfg | 2 -- llvm/test/MC/COFF/lit.local.cfg | 2 -- llvm/test/MC/Disassembler/AArch64/lit.local.cfg | 2 -- llvm/test/MC/Disassembler/ARM/lit.local.cfg | 2 -- llvm/test/MC/Disassembler/Mips/lit.local.cfg | 2 -- llvm/test/MC/Disassembler/SystemZ/lit.local.cfg | 2 -- llvm/test/MC/Disassembler/X86/lit.local.cfg | 2 -- llvm/test/MC/Disassembler/XCore/lit.local.cfg | 2 -- llvm/test/MC/ELF/lit.local.cfg | 2 -- llvm/test/MC/MachO/ARM/lit.local.cfg | 2 -- llvm/test/MC/MachO/lit.local.cfg | 2 -- llvm/test/MC/Mips/lit.local.cfg | 2 -- llvm/test/MC/PowerPC/lit.local.cfg | 2 -- llvm/test/MC/SystemZ/lit.local.cfg | 2 -- llvm/test/MC/X86/AlignedBundling/lit.local.cfg | 2 -- llvm/test/MC/X86/lit.local.cfg | 2 -- llvm/test/Object/Mips/lit.local.cfg | 2 -- llvm/test/Object/X86/lit.local.cfg | 2 -- llvm/test/Other/X86/lit.local.cfg | 2 -- llvm/test/Other/lit.local.cfg | 1 - llvm/test/Transforms/ADCE/lit.local.cfg | 1 - .../test/Transforms/ArgumentPromotion/lit.local.cfg | 1 - llvm/test/Transforms/BBVectorize/lit.local.cfg | 2 -- llvm/test/Transforms/BlockPlacement/lit.local.cfg | 1 - llvm/test/Transforms/CodeExtractor/lit.local.cfg | 1 - llvm/test/Transforms/CodeGenPrepare/lit.local.cfg | 1 - llvm/test/Transforms/ConstProp/lit.local.cfg | 1 - llvm/test/Transforms/ConstantMerge/lit.local.cfg | 1 - .../CorrelatedValuePropagation/lit.local.cfg | 1 - llvm/test/Transforms/DeadArgElim/lit.local.cfg | 1 - .../Transforms/DeadStoreElimination/lit.local.cfg | 1 - llvm/test/Transforms/DebugIR/lit.local.cfg | 1 - llvm/test/Transforms/EarlyCSE/lit.local.cfg | 1 - llvm/test/Transforms/FunctionAttrs/lit.local.cfg | 1 - llvm/test/Transforms/GCOVProfiling/lit.local.cfg | 1 - llvm/test/Transforms/GVN/lit.local.cfg | 1 - llvm/test/Transforms/GlobalDCE/lit.local.cfg | 1 - llvm/test/Transforms/GlobalOpt/lit.local.cfg | 1 - llvm/test/Transforms/IPConstantProp/lit.local.cfg | 1 - llvm/test/Transforms/IndVarSimplify/lit.local.cfg | 1 - llvm/test/Transforms/Inline/lit.local.cfg | 1 - llvm/test/Transforms/InstCombine/lit.local.cfg | 1 - llvm/test/Transforms/InstSimplify/lit.local.cfg | 1 - llvm/test/Transforms/Internalize/lit.local.cfg | 1 - llvm/test/Transforms/JumpThreading/lit.local.cfg | 1 - llvm/test/Transforms/LCSSA/lit.local.cfg | 1 - llvm/test/Transforms/LICM/lit.local.cfg | 1 - llvm/test/Transforms/LoopDeletion/lit.local.cfg | 1 - llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg | 2 -- llvm/test/Transforms/LoopIdiom/lit.local.cfg | 1 - llvm/test/Transforms/LoopRotate/lit.local.cfg | 1 - llvm/test/Transforms/LoopSimplify/lit.local.cfg | 1 - .../Transforms/LoopStrengthReduce/ARM/lit.local.cfg | 2 -- .../Transforms/LoopStrengthReduce/X86/lit.local.cfg | 2 -- .../Transforms/LoopStrengthReduce/lit.local.cfg | 1 - llvm/test/Transforms/LoopUnroll/lit.local.cfg | 1 - llvm/test/Transforms/LoopUnswitch/lit.local.cfg | 1 - .../test/Transforms/LoopVectorize/ARM/lit.local.cfg | 2 -- .../test/Transforms/LoopVectorize/X86/lit.local.cfg | 2 -- llvm/test/Transforms/LoopVectorize/lit.local.cfg | 1 - llvm/test/Transforms/LowerAtomic/lit.local.cfg | 1 - .../Transforms/LowerExpectIntrinsic/lit.local.cfg | 1 - llvm/test/Transforms/LowerInvoke/lit.local.cfg | 1 - llvm/test/Transforms/LowerSwitch/lit.local.cfg | 1 - llvm/test/Transforms/Mem2Reg/lit.local.cfg | 1 - llvm/test/Transforms/MemCpyOpt/lit.local.cfg | 1 - llvm/test/Transforms/MergeFunc/lit.local.cfg | 1 - llvm/test/Transforms/MetaRenamer/lit.local.cfg | 1 - llvm/test/Transforms/ObjCARC/lit.local.cfg | 1 - llvm/test/Transforms/PhaseOrdering/lit.local.cfg | 1 - llvm/test/Transforms/PruneEH/lit.local.cfg | 1 - llvm/test/Transforms/Reassociate/lit.local.cfg | 1 - llvm/test/Transforms/Reg2Mem/lit.local.cfg | 1 - llvm/test/Transforms/SCCP/lit.local.cfg | 1 - .../test/Transforms/SLPVectorizer/X86/lit.local.cfg | 2 -- llvm/test/Transforms/SLPVectorizer/lit.local.cfg | 1 - llvm/test/Transforms/SROA/lit.local.cfg | 1 - llvm/test/Transforms/ScalarRepl/lit.local.cfg | 1 - .../test/Transforms/SimplifyCFG/SPARC/lit.local.cfg | 2 -- llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg | 2 -- llvm/test/Transforms/SimplifyCFG/lit.local.cfg | 1 - llvm/test/Transforms/Sink/lit.local.cfg | 1 - llvm/test/Transforms/StripSymbols/lit.local.cfg | 1 - llvm/test/Transforms/StructurizeCFG/lit.local.cfg | 1 - llvm/test/Transforms/TailCallElim/lit.local.cfg | 1 - llvm/test/Transforms/TailDup/X86/lit.local.cfg | 2 -- llvm/test/Transforms/TailDup/lit.local.cfg | 2 -- llvm/test/Verifier/lit.local.cfg | 1 - llvm/test/lit.cfg | 4 ++-- llvm/test/tools/llvm-lit/lit.local.cfg | 1 - llvm/test/tools/llvm-objdump/lit.local.cfg | 2 -- llvm/test/tools/llvm-readobj/lit.local.cfg | 1 - 157 files changed, 16 insertions(+), 275 deletions(-) delete mode 100644 llvm/test/Analysis/BasicAA/lit.local.cfg delete mode 100644 llvm/test/Analysis/BlockFrequencyInfo/lit.local.cfg delete mode 100644 llvm/test/Analysis/BranchProbabilityInfo/lit.local.cfg delete mode 100644 llvm/test/Analysis/CallGraph/lit.local.cfg delete mode 100644 llvm/test/Analysis/CostModel/lit.local.cfg delete mode 100644 llvm/test/Analysis/DependenceAnalysis/lit.local.cfg delete mode 100644 llvm/test/Analysis/Dominators/lit.local.cfg delete mode 100644 llvm/test/Analysis/GlobalsModRef/lit.local.cfg delete mode 100644 llvm/test/Analysis/LoopInfo/lit.local.cfg delete mode 100644 llvm/test/Analysis/MemoryDependenceAnalysis/lit.local.cfg delete mode 100644 llvm/test/Analysis/PostDominators/lit.local.cfg delete mode 100644 llvm/test/Analysis/RegionInfo/lit.local.cfg delete mode 100644 llvm/test/Analysis/ScalarEvolution/lit.local.cfg delete mode 100644 llvm/test/Analysis/TypeBasedAliasAnalysis/lit.local.cfg delete mode 100644 llvm/test/Assembler/lit.local.cfg delete mode 100644 llvm/test/Bitcode/lit.local.cfg delete mode 100644 llvm/test/BugPoint/lit.local.cfg delete mode 100644 llvm/test/CodeGen/Generic/lit.local.cfg create mode 100644 llvm/test/CodeGen/SI/lit.local.cfg delete mode 100644 llvm/test/DebugInfo/Inputs/lit.local.cfg delete mode 100644 llvm/test/DebugInfo/lit.local.cfg delete mode 100644 llvm/test/ExecutionEngine/RuntimeDyld/lit.local.cfg delete mode 100644 llvm/test/Feature/lit.local.cfg delete mode 100644 llvm/test/FileCheck/lit.local.cfg delete mode 100644 llvm/test/Instrumentation/AddressSanitizer/lit.local.cfg delete mode 100644 llvm/test/Instrumentation/BoundsChecking/lit.local.cfg delete mode 100644 llvm/test/Instrumentation/DataFlowSanitizer/lit.local.cfg delete mode 100644 llvm/test/Instrumentation/MemorySanitizer/lit.local.cfg delete mode 100644 llvm/test/Instrumentation/ThreadSanitizer/lit.local.cfg delete mode 100644 llvm/test/Integer/lit.local.cfg delete mode 100644 llvm/test/Linker/lit.local.cfg delete mode 100644 llvm/test/Other/lit.local.cfg delete mode 100644 llvm/test/Transforms/ADCE/lit.local.cfg delete mode 100644 llvm/test/Transforms/ArgumentPromotion/lit.local.cfg delete mode 100644 llvm/test/Transforms/BlockPlacement/lit.local.cfg delete mode 100644 llvm/test/Transforms/CodeExtractor/lit.local.cfg delete mode 100644 llvm/test/Transforms/CodeGenPrepare/lit.local.cfg delete mode 100644 llvm/test/Transforms/ConstProp/lit.local.cfg delete mode 100644 llvm/test/Transforms/ConstantMerge/lit.local.cfg delete mode 100644 llvm/test/Transforms/CorrelatedValuePropagation/lit.local.cfg delete mode 100644 llvm/test/Transforms/DeadArgElim/lit.local.cfg delete mode 100644 llvm/test/Transforms/DeadStoreElimination/lit.local.cfg delete mode 100644 llvm/test/Transforms/DebugIR/lit.local.cfg delete mode 100644 llvm/test/Transforms/EarlyCSE/lit.local.cfg delete mode 100644 llvm/test/Transforms/FunctionAttrs/lit.local.cfg delete mode 100644 llvm/test/Transforms/GCOVProfiling/lit.local.cfg delete mode 100644 llvm/test/Transforms/GVN/lit.local.cfg delete mode 100644 llvm/test/Transforms/GlobalDCE/lit.local.cfg delete mode 100644 llvm/test/Transforms/GlobalOpt/lit.local.cfg delete mode 100644 llvm/test/Transforms/IPConstantProp/lit.local.cfg delete mode 100644 llvm/test/Transforms/IndVarSimplify/lit.local.cfg delete mode 100644 llvm/test/Transforms/Inline/lit.local.cfg delete mode 100644 llvm/test/Transforms/InstCombine/lit.local.cfg delete mode 100644 llvm/test/Transforms/InstSimplify/lit.local.cfg delete mode 100644 llvm/test/Transforms/Internalize/lit.local.cfg delete mode 100644 llvm/test/Transforms/JumpThreading/lit.local.cfg delete mode 100644 llvm/test/Transforms/LCSSA/lit.local.cfg delete mode 100644 llvm/test/Transforms/LICM/lit.local.cfg delete mode 100644 llvm/test/Transforms/LoopDeletion/lit.local.cfg delete mode 100644 llvm/test/Transforms/LoopIdiom/lit.local.cfg delete mode 100644 llvm/test/Transforms/LoopRotate/lit.local.cfg delete mode 100644 llvm/test/Transforms/LoopSimplify/lit.local.cfg delete mode 100644 llvm/test/Transforms/LoopStrengthReduce/lit.local.cfg delete mode 100644 llvm/test/Transforms/LoopUnroll/lit.local.cfg delete mode 100644 llvm/test/Transforms/LoopUnswitch/lit.local.cfg delete mode 100644 llvm/test/Transforms/LoopVectorize/lit.local.cfg delete mode 100644 llvm/test/Transforms/LowerAtomic/lit.local.cfg delete mode 100644 llvm/test/Transforms/LowerExpectIntrinsic/lit.local.cfg delete mode 100644 llvm/test/Transforms/LowerInvoke/lit.local.cfg delete mode 100644 llvm/test/Transforms/LowerSwitch/lit.local.cfg delete mode 100644 llvm/test/Transforms/Mem2Reg/lit.local.cfg delete mode 100644 llvm/test/Transforms/MemCpyOpt/lit.local.cfg delete mode 100644 llvm/test/Transforms/MergeFunc/lit.local.cfg delete mode 100644 llvm/test/Transforms/MetaRenamer/lit.local.cfg delete mode 100644 llvm/test/Transforms/ObjCARC/lit.local.cfg delete mode 100644 llvm/test/Transforms/PhaseOrdering/lit.local.cfg delete mode 100644 llvm/test/Transforms/PruneEH/lit.local.cfg delete mode 100644 llvm/test/Transforms/Reassociate/lit.local.cfg delete mode 100644 llvm/test/Transforms/Reg2Mem/lit.local.cfg delete mode 100644 llvm/test/Transforms/SCCP/lit.local.cfg delete mode 100644 llvm/test/Transforms/SLPVectorizer/lit.local.cfg delete mode 100644 llvm/test/Transforms/SROA/lit.local.cfg delete mode 100644 llvm/test/Transforms/ScalarRepl/lit.local.cfg delete mode 100644 llvm/test/Transforms/SimplifyCFG/lit.local.cfg delete mode 100644 llvm/test/Transforms/Sink/lit.local.cfg delete mode 100644 llvm/test/Transforms/StripSymbols/lit.local.cfg delete mode 100644 llvm/test/Transforms/StructurizeCFG/lit.local.cfg delete mode 100644 llvm/test/Transforms/TailCallElim/lit.local.cfg delete mode 100644 llvm/test/Verifier/lit.local.cfg delete mode 100644 llvm/test/tools/llvm-lit/lit.local.cfg delete mode 100644 llvm/test/tools/llvm-readobj/lit.local.cfg diff --git a/llvm/test/Analysis/BasicAA/lit.local.cfg b/llvm/test/Analysis/BasicAA/lit.local.cfg deleted file mode 100644 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Analysis/BasicAA/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Analysis/BlockFrequencyInfo/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Analysis/BranchProbabilityInfo/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Analysis/CallGraph/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/Analysis/CostModel/ARM/lit.local.cfg b/llvm/test/Analysis/CostModel/ARM/lit.local.cfg index cb77b09ef4ad..8a3ba96497e7 100644 --- a/llvm/test/Analysis/CostModel/ARM/lit.local.cfg +++ b/llvm/test/Analysis/CostModel/ARM/lit.local.cfg @@ -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 diff --git a/llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg b/llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg index 4019eca0bb88..2e463005586f 100644 --- a/llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg +++ b/llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg @@ -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 diff --git a/llvm/test/Analysis/CostModel/X86/lit.local.cfg b/llvm/test/Analysis/CostModel/X86/lit.local.cfg index a8ad0f1a28b2..ba763cf03ffc 100644 --- a/llvm/test/Analysis/CostModel/X86/lit.local.cfg +++ b/llvm/test/Analysis/CostModel/X86/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Analysis/CostModel/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Analysis/DependenceAnalysis/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Analysis/Dominators/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Analysis/GlobalsModRef/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Analysis/LoopInfo/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Analysis/MemoryDependenceAnalysis/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Analysis/PostDominators/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/Analysis/Profiling/lit.local.cfg b/llvm/test/Analysis/Profiling/lit.local.cfg index d40fa4f9d3ab..5481b13ce03c 100644 --- a/llvm/test/Analysis/Profiling/lit.local.cfg +++ b/llvm/test/Analysis/Profiling/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Analysis/RegionInfo/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Analysis/ScalarEvolution/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Analysis/TypeBasedAliasAnalysis/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Assembler/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/Bindings/Ocaml/lit.local.cfg b/llvm/test/Bindings/Ocaml/lit.local.cfg index 640c58d2f3d6..ac9f3717b375 100644 --- a/llvm/test/Bindings/Ocaml/lit.local.cfg +++ b/llvm/test/Bindings/Ocaml/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Bitcode/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/BugPoint/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/CodeGen/AArch64/lit.local.cfg b/llvm/test/CodeGen/AArch64/lit.local.cfg index c5ce2411ed48..9a66a00189ea 100644 --- a/llvm/test/CodeGen/AArch64/lit.local.cfg +++ b/llvm/test/CodeGen/AArch64/lit.local.cfg @@ -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/CodeGen/ARM/lit.local.cfg b/llvm/test/CodeGen/ARM/lit.local.cfg index 4d75f581a1d2..8a3ba96497e7 100644 --- a/llvm/test/CodeGen/ARM/lit.local.cfg +++ b/llvm/test/CodeGen/ARM/lit.local.cfg @@ -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 diff --git a/llvm/test/CodeGen/CPP/lit.local.cfg b/llvm/test/CodeGen/CPP/lit.local.cfg index 4d4b4a4a7e21..4063dd1b8612 100644 --- a/llvm/test/CodeGen/CPP/lit.local.cfg +++ b/llvm/test/CodeGen/CPP/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/CodeGen/Generic/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/CodeGen/Hexagon/lit.local.cfg b/llvm/test/CodeGen/Hexagon/lit.local.cfg index 24324b2792e3..e96bab818a3c 100644 --- a/llvm/test/CodeGen/Hexagon/lit.local.cfg +++ b/llvm/test/CodeGen/Hexagon/lit.local.cfg @@ -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 diff --git a/llvm/test/CodeGen/MSP430/lit.local.cfg b/llvm/test/CodeGen/MSP430/lit.local.cfg index 0ca9fc9c6912..a18fe6f927d8 100644 --- a/llvm/test/CodeGen/MSP430/lit.local.cfg +++ b/llvm/test/CodeGen/MSP430/lit.local.cfg @@ -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 diff --git a/llvm/test/CodeGen/Mips/lit.local.cfg b/llvm/test/CodeGen/Mips/lit.local.cfg index e157c540b538..1fa54b428cd9 100644 --- a/llvm/test/CodeGen/Mips/lit.local.cfg +++ b/llvm/test/CodeGen/Mips/lit.local.cfg @@ -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 diff --git a/llvm/test/CodeGen/NVPTX/lit.local.cfg b/llvm/test/CodeGen/NVPTX/lit.local.cfg index 7180c841d6e8..85cf8c2c8c07 100644 --- a/llvm/test/CodeGen/NVPTX/lit.local.cfg +++ b/llvm/test/CodeGen/NVPTX/lit.local.cfg @@ -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 diff --git a/llvm/test/CodeGen/PowerPC/lit.local.cfg b/llvm/test/CodeGen/PowerPC/lit.local.cfg index aaa31d93d5f2..2e463005586f 100644 --- a/llvm/test/CodeGen/PowerPC/lit.local.cfg +++ b/llvm/test/CodeGen/PowerPC/lit.local.cfg @@ -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 diff --git a/llvm/test/CodeGen/R600/lit.local.cfg b/llvm/test/CodeGen/R600/lit.local.cfg index 36ee493e5945..2d8930ad0e88 100644 --- a/llvm/test/CodeGen/R600/lit.local.cfg +++ b/llvm/test/CodeGen/R600/lit.local.cfg @@ -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 index 000000000000..2d8930ad0e88 --- /dev/null +++ b/llvm/test/CodeGen/SI/lit.local.cfg @@ -0,0 +1,3 @@ +targets = set(config.root.targets_to_build.split()) +if not 'R600' in targets: + config.unsupported = True diff --git a/llvm/test/CodeGen/SI/sanity.ll b/llvm/test/CodeGen/SI/sanity.ll index 62cdcf5eca28..80335fb3354b 100644 --- a/llvm/test/CodeGen/SI/sanity.ll +++ b/llvm/test/CodeGen/SI/sanity.ll @@ -1,4 +1,5 @@ ;RUN: llc < %s -march=r600 -mcpu=SI | FileCheck %s +;XFAIL: * ; CHECK: S_ENDPGM diff --git a/llvm/test/CodeGen/SPARC/lit.local.cfg b/llvm/test/CodeGen/SPARC/lit.local.cfg index 6f30a8797967..4d344fa91a9e 100644 --- a/llvm/test/CodeGen/SPARC/lit.local.cfg +++ b/llvm/test/CodeGen/SPARC/lit.local.cfg @@ -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 diff --git a/llvm/test/CodeGen/SystemZ/lit.local.cfg b/llvm/test/CodeGen/SystemZ/lit.local.cfg index 79528d178f23..b12af09434be 100644 --- a/llvm/test/CodeGen/SystemZ/lit.local.cfg +++ b/llvm/test/CodeGen/SystemZ/lit.local.cfg @@ -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 diff --git a/llvm/test/CodeGen/Thumb/lit.local.cfg b/llvm/test/CodeGen/Thumb/lit.local.cfg index 4d75f581a1d2..8a3ba96497e7 100644 --- a/llvm/test/CodeGen/Thumb/lit.local.cfg +++ b/llvm/test/CodeGen/Thumb/lit.local.cfg @@ -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 diff --git a/llvm/test/CodeGen/Thumb2/lit.local.cfg b/llvm/test/CodeGen/Thumb2/lit.local.cfg index cb77b09ef4ad..8a3ba96497e7 100644 --- a/llvm/test/CodeGen/Thumb2/lit.local.cfg +++ b/llvm/test/CodeGen/Thumb2/lit.local.cfg @@ -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 diff --git a/llvm/test/CodeGen/X86/GC/lit.local.cfg b/llvm/test/CodeGen/X86/GC/lit.local.cfg index a8ad0f1a28b2..ba763cf03ffc 100644 --- a/llvm/test/CodeGen/X86/GC/lit.local.cfg +++ b/llvm/test/CodeGen/X86/GC/lit.local.cfg @@ -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/CodeGen/X86/lit.local.cfg b/llvm/test/CodeGen/X86/lit.local.cfg index 9d285bf4e238..ba763cf03ffc 100644 --- a/llvm/test/CodeGen/X86/lit.local.cfg +++ b/llvm/test/CodeGen/X86/lit.local.cfg @@ -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 diff --git a/llvm/test/CodeGen/XCore/lit.local.cfg b/llvm/test/CodeGen/XCore/lit.local.cfg index 8756f37fe8a1..3e84c1befeab 100644 --- a/llvm/test/CodeGen/XCore/lit.local.cfg +++ b/llvm/test/CodeGen/XCore/lit.local.cfg @@ -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 diff --git a/llvm/test/DebugInfo/AArch64/lit.local.cfg b/llvm/test/DebugInfo/AArch64/lit.local.cfg index c5ce2411ed48..9a66a00189ea 100644 --- a/llvm/test/DebugInfo/AArch64/lit.local.cfg +++ b/llvm/test/DebugInfo/AArch64/lit.local.cfg @@ -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 index e6f55eef7af5..000000000000 --- a/llvm/test/DebugInfo/Inputs/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = [] diff --git a/llvm/test/DebugInfo/PowerPC/lit.local.cfg b/llvm/test/DebugInfo/PowerPC/lit.local.cfg index 112a1c34564a..193ebebcd50e 100644 --- a/llvm/test/DebugInfo/PowerPC/lit.local.cfg +++ b/llvm/test/DebugInfo/PowerPC/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.ll', '.s'] - targets = set(config.root.targets_to_build.split()) if not 'PowerPC' in targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/SystemZ/lit.local.cfg b/llvm/test/DebugInfo/SystemZ/lit.local.cfg index a70a6854381b..b12af09434be 100644 --- a/llvm/test/DebugInfo/SystemZ/lit.local.cfg +++ b/llvm/test/DebugInfo/SystemZ/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.ll', '.s'] - targets = set(config.root.targets_to_build.split()) if not 'SystemZ' in targets: config.unsupported = True diff --git a/llvm/test/DebugInfo/X86/lit.local.cfg b/llvm/test/DebugInfo/X86/lit.local.cfg index 60d66eae4953..19840aa7574c 100644 --- a/llvm/test/DebugInfo/X86/lit.local.cfg +++ b/llvm/test/DebugInfo/X86/lit.local.cfg @@ -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 index 00bd9b83b525..000000000000 --- a/llvm/test/DebugInfo/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp', '.test'] diff --git a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg index f21468ffa241..bad4c8cf39ac 100644 --- a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg +++ b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg @@ -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): diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg b/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg index 39b2a950ae34..6b192ae44be7 100644 --- a/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg +++ b/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg @@ -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 index df9b335dd131..000000000000 --- a/llvm/test/ExecutionEngine/RuntimeDyld/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.test'] diff --git a/llvm/test/ExecutionEngine/lit.local.cfg b/llvm/test/ExecutionEngine/lit.local.cfg index b6945adf015a..215ecaeeda0e 100644 --- a/llvm/test/ExecutionEngine/lit.local.cfg +++ b/llvm/test/ExecutionEngine/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Feature/lit.local.cfg +++ /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 index ee25f56231c5..000000000000 --- a/llvm/test/FileCheck/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.txt'] diff --git a/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg b/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg index b05ed3c77c16..ba763cf03ffc 100644 --- a/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg +++ b/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Instrumentation/AddressSanitizer/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Instrumentation/BoundsChecking/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Instrumentation/DataFlowSanitizer/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Instrumentation/MemorySanitizer/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Instrumentation/ThreadSanitizer/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Integer/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/JitListener/lit.local.cfg b/llvm/test/JitListener/lit.local.cfg index a5aa6de182c4..d995820bc3b6 100644 --- a/llvm/test/JitListener/lit.local.cfg +++ b/llvm/test/JitListener/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Linker/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/MC/AArch64/lit.local.cfg b/llvm/test/MC/AArch64/lit.local.cfg index cc02173c8ed4..75dba81bc0b5 100644 --- a/llvm/test/MC/AArch64/lit.local.cfg +++ b/llvm/test/MC/AArch64/lit.local.cfg @@ -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 diff --git a/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg b/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg index 6c49f08b7496..ba763cf03ffc 100644 --- a/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg +++ b/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.s'] - targets = set(config.root.targets_to_build.split()) if not 'X86' in targets: config.unsupported = True diff --git a/llvm/test/MC/ARM/lit.local.cfg b/llvm/test/MC/ARM/lit.local.cfg index 57009139616f..8a3ba96497e7 100644 --- a/llvm/test/MC/ARM/lit.local.cfg +++ b/llvm/test/MC/ARM/lit.local.cfg @@ -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 diff --git a/llvm/test/MC/AsmParser/lit.local.cfg b/llvm/test/MC/AsmParser/lit.local.cfg index 6c49f08b7496..ba763cf03ffc 100644 --- a/llvm/test/MC/AsmParser/lit.local.cfg +++ b/llvm/test/MC/AsmParser/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.s'] - targets = set(config.root.targets_to_build.split()) if not 'X86' in targets: config.unsupported = True diff --git a/llvm/test/MC/COFF/lit.local.cfg b/llvm/test/MC/COFF/lit.local.cfg index 41a8434f9993..ba763cf03ffc 100644 --- a/llvm/test/MC/COFF/lit.local.cfg +++ b/llvm/test/MC/COFF/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.s', '.ll'] - targets = set(config.root.targets_to_build.split()) if not 'X86' in targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/AArch64/lit.local.cfg b/llvm/test/MC/Disassembler/AArch64/lit.local.cfg index f9df30e4d3df..9a66a00189ea 100644 --- a/llvm/test/MC/Disassembler/AArch64/lit.local.cfg +++ b/llvm/test/MC/Disassembler/AArch64/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.txt'] - targets = set(config.root.targets_to_build.split()) if not 'AArch64' in targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/ARM/lit.local.cfg b/llvm/test/MC/Disassembler/ARM/lit.local.cfg index 22a76e5cab2d..8a3ba96497e7 100644 --- a/llvm/test/MC/Disassembler/ARM/lit.local.cfg +++ b/llvm/test/MC/Disassembler/ARM/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.txt'] - targets = set(config.root.targets_to_build.split()) if not 'ARM' in targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/Mips/lit.local.cfg b/llvm/test/MC/Disassembler/Mips/lit.local.cfg index 9b698b2e6c41..1fa54b428cd9 100644 --- a/llvm/test/MC/Disassembler/Mips/lit.local.cfg +++ b/llvm/test/MC/Disassembler/Mips/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.txt'] - targets = set(config.root.targets_to_build.split()) if not 'Mips' in targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/SystemZ/lit.local.cfg b/llvm/test/MC/Disassembler/SystemZ/lit.local.cfg index 1da00eaef3e0..b12af09434be 100644 --- a/llvm/test/MC/Disassembler/SystemZ/lit.local.cfg +++ b/llvm/test/MC/Disassembler/SystemZ/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.txt'] - targets = set(config.root.targets_to_build.split()) if not 'SystemZ' in targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/X86/lit.local.cfg b/llvm/test/MC/Disassembler/X86/lit.local.cfg index 6211b3e53853..ba763cf03ffc 100644 --- a/llvm/test/MC/Disassembler/X86/lit.local.cfg +++ b/llvm/test/MC/Disassembler/X86/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.txt'] - targets = set(config.root.targets_to_build.split()) if not 'X86' in targets: config.unsupported = True diff --git a/llvm/test/MC/Disassembler/XCore/lit.local.cfg b/llvm/test/MC/Disassembler/XCore/lit.local.cfg index 15b65836e717..4d17d4642045 100644 --- a/llvm/test/MC/Disassembler/XCore/lit.local.cfg +++ b/llvm/test/MC/Disassembler/XCore/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.txt'] - targets = set(config.root.targets_to_build.split()) if not 'XCore' in targets: config.unsupported = True diff --git a/llvm/test/MC/ELF/lit.local.cfg b/llvm/test/MC/ELF/lit.local.cfg index 56bf00859572..ba763cf03ffc 100644 --- a/llvm/test/MC/ELF/lit.local.cfg +++ b/llvm/test/MC/ELF/lit.local.cfg @@ -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/MC/MachO/ARM/lit.local.cfg b/llvm/test/MC/MachO/ARM/lit.local.cfg index 9f0d39d9217b..8a3ba96497e7 100644 --- a/llvm/test/MC/MachO/ARM/lit.local.cfg +++ b/llvm/test/MC/MachO/ARM/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.s', '.ll'] - targets = set(config.root.targets_to_build.split()) if not 'ARM' in targets: config.unsupported = True diff --git a/llvm/test/MC/MachO/lit.local.cfg b/llvm/test/MC/MachO/lit.local.cfg index 41a8434f9993..ba763cf03ffc 100644 --- a/llvm/test/MC/MachO/lit.local.cfg +++ b/llvm/test/MC/MachO/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.s', '.ll'] - targets = set(config.root.targets_to_build.split()) if not 'X86' in targets: config.unsupported = True diff --git a/llvm/test/MC/Mips/lit.local.cfg b/llvm/test/MC/Mips/lit.local.cfg index d2e3b28dbd86..1fa54b428cd9 100644 --- a/llvm/test/MC/Mips/lit.local.cfg +++ b/llvm/test/MC/Mips/lit.local.cfg @@ -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 diff --git a/llvm/test/MC/PowerPC/lit.local.cfg b/llvm/test/MC/PowerPC/lit.local.cfg index 88488cdd048e..193ebebcd50e 100644 --- a/llvm/test/MC/PowerPC/lit.local.cfg +++ b/llvm/test/MC/PowerPC/lit.local.cfg @@ -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 diff --git a/llvm/test/MC/SystemZ/lit.local.cfg b/llvm/test/MC/SystemZ/lit.local.cfg index abb697406d6f..b12af09434be 100644 --- a/llvm/test/MC/SystemZ/lit.local.cfg +++ b/llvm/test/MC/SystemZ/lit.local.cfg @@ -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 diff --git a/llvm/test/MC/X86/AlignedBundling/lit.local.cfg b/llvm/test/MC/X86/AlignedBundling/lit.local.cfg index 6c49f08b7496..ba763cf03ffc 100644 --- a/llvm/test/MC/X86/AlignedBundling/lit.local.cfg +++ b/llvm/test/MC/X86/AlignedBundling/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.s'] - targets = set(config.root.targets_to_build.split()) if not 'X86' in targets: config.unsupported = True diff --git a/llvm/test/MC/X86/lit.local.cfg b/llvm/test/MC/X86/lit.local.cfg index ad280c7cf7de..19840aa7574c 100644 --- a/llvm/test/MC/X86/lit.local.cfg +++ b/llvm/test/MC/X86/lit.local.cfg @@ -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 diff --git a/llvm/test/Object/Mips/lit.local.cfg b/llvm/test/Object/Mips/lit.local.cfg index 149931749822..88262fb1d323 100644 --- a/llvm/test/Object/Mips/lit.local.cfg +++ b/llvm/test/Object/Mips/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.test'] - targets = set(config.root.targets_to_build.split()) if not 'Mips' in targets: config.unsupported = True diff --git a/llvm/test/Object/X86/lit.local.cfg b/llvm/test/Object/X86/lit.local.cfg index 6a29e9250f3c..ba763cf03ffc 100644 --- a/llvm/test/Object/X86/lit.local.cfg +++ b/llvm/test/Object/X86/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.test'] - targets = set(config.root.targets_to_build.split()) if not 'X86' in targets: config.unsupported = True diff --git a/llvm/test/Other/X86/lit.local.cfg b/llvm/test/Other/X86/lit.local.cfg index da2db5a45f9c..ba763cf03ffc 100644 --- a/llvm/test/Other/X86/lit.local.cfg +++ b/llvm/test/Other/X86/lit.local.cfg @@ -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 index 67c7ec774332..000000000000 --- a/llvm/test/Other/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/ADCE/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/ArgumentPromotion/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/Transforms/BBVectorize/lit.local.cfg b/llvm/test/Transforms/BBVectorize/lit.local.cfg index a8ad0f1a28b2..ba763cf03ffc 100644 --- a/llvm/test/Transforms/BBVectorize/lit.local.cfg +++ b/llvm/test/Transforms/BBVectorize/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/BlockPlacement/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/CodeExtractor/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Transforms/CodeGenPrepare/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/ConstProp/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/ConstantMerge/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Transforms/CorrelatedValuePropagation/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/DeadArgElim/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/DeadStoreElimination/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Transforms/DebugIR/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Transforms/EarlyCSE/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/FunctionAttrs/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/GCOVProfiling/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/GVN/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/GlobalDCE/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/GlobalOpt/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/IPConstantProp/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/IndVarSimplify/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/Inline/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/InstCombine/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/InstSimplify/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/Internalize/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Transforms/JumpThreading/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LCSSA/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LICM/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LoopDeletion/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg b/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg index a8ad0f1a28b2..ba763cf03ffc 100644 --- a/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg +++ b/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LoopIdiom/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LoopRotate/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LoopSimplify/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg index bac2ffab31d9..8a3ba96497e7 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.ll'] - targets = set(config.root.targets_to_build.split()) if not 'ARM' in targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg index da2db5a45f9c..ba763cf03ffc 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LoopStrengthReduce/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LoopUnroll/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LoopUnswitch/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg index cb77b09ef4ad..8a3ba96497e7 100644 --- a/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg @@ -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 diff --git a/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg index a8ad0f1a28b2..ba763cf03ffc 100644 --- a/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg +++ b/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LoopVectorize/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LowerAtomic/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Transforms/LowerExpectIntrinsic/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LowerInvoke/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/LowerSwitch/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/Mem2Reg/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/MemCpyOpt/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/MergeFunc/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Transforms/MetaRenamer/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/ObjCARC/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/PhaseOrdering/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/PruneEH/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/Reassociate/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/Reg2Mem/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/SCCP/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg index a8ad0f1a28b2..ba763cf03ffc 100644 --- a/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg +++ b/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/SLPVectorizer/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Transforms/SROA/lit.local.cfg +++ /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 index c6106e4746f2..000000000000 --- a/llvm/test/Transforms/ScalarRepl/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll'] diff --git a/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg index 786fee9e6610..4d344fa91a9e 100644 --- a/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg +++ b/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg @@ -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 diff --git a/llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg index a8ad0f1a28b2..ba763cf03ffc 100644 --- a/llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg +++ b/llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/SimplifyCFG/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/Sink/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/StripSymbols/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/StructurizeCFG/lit.local.cfg +++ /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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Transforms/TailCallElim/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/Transforms/TailDup/X86/lit.local.cfg b/llvm/test/Transforms/TailDup/X86/lit.local.cfg index da2db5a45f9c..ba763cf03ffc 100644 --- a/llvm/test/Transforms/TailDup/X86/lit.local.cfg +++ b/llvm/test/Transforms/TailDup/X86/lit.local.cfg @@ -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/TailDup/lit.local.cfg b/llvm/test/Transforms/TailDup/lit.local.cfg index 18c604aba567..19840aa7574c 100644 --- a/llvm/test/Transforms/TailDup/lit.local.cfg +++ b/llvm/test/Transforms/TailDup/lit.local.cfg @@ -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 index 19eebc0ac7ac..000000000000 --- a/llvm/test/Verifier/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index abca7f7fa595..cd17be1fdbb7 100644 --- a/llvm/test/lit.cfg +++ b/llvm/test/lit.cfg @@ -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 index 856a54932f0b..000000000000 --- a/llvm/test/tools/llvm-lit/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.c'] diff --git a/llvm/test/tools/llvm-objdump/lit.local.cfg b/llvm/test/tools/llvm-objdump/lit.local.cfg index 56bf00859572..ba763cf03ffc 100644 --- a/llvm/test/tools/llvm-objdump/lit.local.cfg +++ b/llvm/test/tools/llvm-objdump/lit.local.cfg @@ -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 index df9b335dd131..000000000000 --- a/llvm/test/tools/llvm-readobj/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.test'] -- 2.34.1