summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Hieta <tobias@hieta.se>2023-05-17 11:01:54 +0200
committerTobias Hieta <tobias@hieta.se>2023-05-17 17:03:15 +0200
commitf84bac329ba6c9f0c022bcf77237e912362e247a (patch)
tree853837571841fb114dcb4afc190567e0eab31a84
parentcf8c358dc9414e3de9f65eebdfdcb66dd5817857 (diff)
downloadllvm-f84bac329ba6c9f0c022bcf77237e912362e247a.tar.gz
[NFC][Py Reformat] Reformat lit.local.cfg python files in llvm
This is a follow-up to b71edfaa4ec3c998aadb35255ce2f60bba2940b0 since I forgot the lit.local.cfg files in that one. Reformatting is done with `black`. If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run git checkout --ours <yourfile> and then reformat it with black. If you run into any problems, post to discourse about it and we will try to help. RFC Thread below: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Reviewed By: barannikov88, kwk Differential Revision: https://reviews.llvm.org/D150762
-rw-r--r--llvm/test/Analysis/CostModel/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/CostModel/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/CostModel/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/CostModel/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/CostModel/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/CostModel/X86/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/Delinearization/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/DotMachineCFG/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/Lint/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/LoopCacheAnalysis/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/UniformityAnalysis/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Analysis/UniformityAnalysis/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/Bindings/OCaml/Utils/lit.local.cfg2
-rw-r--r--llvm/test/Bindings/OCaml/lit.local.cfg4
-rw-r--r--llvm/test/CodeGen/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/ARC/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/ARM/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/AVR/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/BPF/lit.local.cfg4
-rw-r--r--llvm/test/CodeGen/CSKY/fpu/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/CSKY/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/DirectX/lit.local.cfg4
-rw-r--r--llvm/test/CodeGen/Hexagon/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/Lanai/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/LoongArch/lit.local.cfg17
-rw-r--r--llvm/test/CodeGen/M68k/lit.local.cfg22
-rw-r--r--llvm/test/CodeGen/MIR/AArch64/lit.local.cfg4
-rw-r--r--llvm/test/CodeGen/MIR/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/MIR/ARM/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/MIR/Generic/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/MIR/Hexagon/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/MIR/Mips/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/MIR/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/MIR/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/MIR/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/MIR/WebAssembly/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/MIR/X86/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/MSP430/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/Mips/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/NVPTX/lit.local.cfg4
-rw-r--r--llvm/test/CodeGen/PowerPC/lit.local.cfg4
-rw-r--r--llvm/test/CodeGen/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/SPARC/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/SPIRV/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/SystemZ/Large/lit.local.cfg6
-rw-r--r--llvm/test/CodeGen/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/Thumb/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/Thumb2/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/VE/VELIntrinsics/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/VE/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/WebAssembly/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/WinCFGuard/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/WinEH/lit.local.cfg4
-rw-r--r--llvm/test/CodeGen/X86/GC/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/X86/lit.local.cfg2
-rw-r--r--llvm/test/CodeGen/XCore/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/ARM/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/BPF/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/COFF/AArch64/lit.local.cfg3
-rw-r--r--llvm/test/DebugInfo/COFF/ARMNT/lit.local.cfg3
-rw-r--r--llvm/test/DebugInfo/COFF/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/CSKY/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/Lanai/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/MIR/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/MIR/ARM/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/MIR/Hexagon/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/MIR/InstrRef/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/MIR/Mips/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/MIR/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/MIR/X86/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/MIR/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/MSP430/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/Mips/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/Sparc/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/WebAssembly/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/X86/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/XCOFF/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/XCore/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/assignment-tracking/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/DebugInfo/assignment-tracking/X86/lit.local.cfg2
-rw-r--r--llvm/test/Examples/lit.local.cfg6
-rw-r--r--llvm/test/ExecutionEngine/JITLink/AArch32/lit.local.cfg4
-rw-r--r--llvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg4
-rw-r--r--llvm/test/ExecutionEngine/JITLink/LoongArch/lit.local.cfg4
-rw-r--r--llvm/test/ExecutionEngine/JITLink/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg4
-rw-r--r--llvm/test/ExecutionEngine/JITLink/x86-64/lit.local.cfg2
-rw-r--r--llvm/test/ExecutionEngine/MCJIT/lit.local.cfg34
-rw-r--r--llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg5
-rw-r--r--llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg16
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/ARM/lit.local.cfg2
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/BPF/lit.local.cfg2
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg2
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/X86/lit.local.cfg2
-rw-r--r--llvm/test/ExecutionEngine/lit.local.cfg4
-rw-r--r--llvm/test/FileCheck/lit.local.cfg3
-rw-r--r--llvm/test/Instrumentation/AddressSanitizer/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg2
-rw-r--r--llvm/test/Instrumentation/InstrProfiling/X86/lit.local.cfg2
-rw-r--r--llvm/test/JitListener/lit.local.cfg2
-rw-r--r--llvm/test/LTO/AArch64/lit.local.cfg4
-rw-r--r--llvm/test/LTO/ARM/lit.local.cfg4
-rw-r--r--llvm/test/LTO/PowerPC/lit.local.cfg4
-rw-r--r--llvm/test/LTO/Resolution/X86/lit.local.cfg4
-rw-r--r--llvm/test/LTO/X86/lit.local.cfg4
-rw-r--r--llvm/test/MC/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/MC/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/MC/AMDGPU/regression/lit.local.cfg2
-rw-r--r--llvm/test/MC/ARM/AlignedBundling/lit.local.cfg2
-rw-r--r--llvm/test/MC/ARM/lit.local.cfg2
-rw-r--r--llvm/test/MC/AVR/lit.local.cfg2
-rw-r--r--llvm/test/MC/AsmParser/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/MC/AsmParser/lit.local.cfg2
-rw-r--r--llvm/test/MC/BPF/lit.local.cfg2
-rw-r--r--llvm/test/MC/COFF/ARM/lit.local.cfg2
-rw-r--r--llvm/test/MC/COFF/lit.local.cfg4
-rw-r--r--llvm/test/MC/CSKY/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/ARC/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/ARM/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/Hexagon/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/Lanai/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/M68k/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/MSP430/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/Mips/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/Sparc/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/WebAssembly/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/X86/lit.local.cfg2
-rw-r--r--llvm/test/MC/Disassembler/XCore/lit.local.cfg2
-rw-r--r--llvm/test/MC/ELF/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/MC/ELF/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/MC/ELF/ARM/lit.local.cfg2
-rw-r--r--llvm/test/MC/ELF/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/MC/ELF/lit.local.cfg2
-rw-r--r--llvm/test/MC/Hexagon/lit.local.cfg2
-rw-r--r--llvm/test/MC/Lanai/lit.local.cfg2
-rw-r--r--llvm/test/MC/LoongArch/lit.local.cfg2
-rw-r--r--llvm/test/MC/M68k/lit.local.cfg2
-rw-r--r--llvm/test/MC/MSP430/lit.local.cfg2
-rw-r--r--llvm/test/MC/MachO/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/MC/MachO/ARM/lit.local.cfg2
-rw-r--r--llvm/test/MC/MachO/lit.local.cfg2
-rw-r--r--llvm/test/MC/Mips/lit.local.cfg2
-rw-r--r--llvm/test/MC/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/MC/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/MC/Sparc/lit.local.cfg2
-rw-r--r--llvm/test/MC/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/MC/VE/lit.local.cfg2
-rw-r--r--llvm/test/MC/WebAssembly/lit.local.cfg2
-rw-r--r--llvm/test/MC/X86/AlignedBundling/lit.local.cfg2
-rw-r--r--llvm/test/MC/X86/lit.local.cfg2
-rw-r--r--llvm/test/MC/XCOFF/lit.local.cfg2
-rw-r--r--llvm/test/MC/Xtensa/lit.local.cfg2
-rw-r--r--llvm/test/Object/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Object/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Object/BPF/lit.local.cfg2
-rw-r--r--llvm/test/Object/Lanai/lit.local.cfg2
-rw-r--r--llvm/test/Object/Mips/lit.local.cfg2
-rw-r--r--llvm/test/Object/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/Object/X86/lit.local.cfg2
-rw-r--r--llvm/test/Other/ChangePrinters/DotCfg/lit.local.cfg26
-rw-r--r--llvm/test/Other/ChangePrinters/lit.local.cfg15
-rw-r--r--llvm/test/Other/ChangeTesters/lit.local.cfg4
-rw-r--r--llvm/test/Other/X86/lit.local.cfg2
-rw-r--r--llvm/test/TableGen/lit.local.cfg4
-rw-r--r--llvm/test/ThinLTO/X86/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/AggressiveInstCombine/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/AggressiveInstCombine/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/AggressiveInstCombine/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/ArgumentPromotion/BPF/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/ArgumentPromotion/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/AtomicExpand/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/AtomicExpand/AMDGPU/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/AtomicExpand/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/AtomicExpand/Hexagon/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/AtomicExpand/LoongArch/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/AtomicExpand/Mips/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/AtomicExpand/RISCV/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/AtomicExpand/SPARC/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/AtomicExpand/X86/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/Attributor/ArgumentPromotion/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/Attributor/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/CodeExtractor/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/CodeGenPrepare/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/CodeGenPrepare/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/CodeGenPrepare/Mips/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/CodeGenPrepare/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/CodeGenPrepare/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/CodeGenPrepare/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/CodeGenPrepare/SPARC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/ConstantHoisting/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/ConstantHoisting/RISCV/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/ConstantHoisting/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/DivRemPairs/Mips/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/DivRemPairs/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/DivRemPairs/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/EarlyCSE/AArch64/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/EarlyCSE/AMDGPU/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/EarlyCSE/DirectX/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/EarlyCSE/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/EarlyCSE/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg3
-rw-r--r--llvm/test/Transforms/ExpandMemCmp/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/GlobalOpt/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/HardwareLoops/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/HotColdSplit/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InferAddressSpaces/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InferAddressSpaces/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/Inline/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/Inline/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/Inline/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/Inline/ML/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/Inline/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/Inline/WebAssembly/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/Inline/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InstCombine/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InstCombine/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InstCombine/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InstCombine/Hexagon/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InstCombine/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InstCombine/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InstCombine/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InstCombine/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InstSimplify/ConstProp/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/InterleavedAccess/AArch64/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/InterleavedAccess/ARM/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/InterleavedAccess/RISCV/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/InterleavedAccess/X86/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/LICM/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LICM/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoadStoreVectorizer/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/LoopDataPrefetch/LoongArch/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopIdiom/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopIdiom/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopRotate/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/Power/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopUnroll/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopUnroll/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopUnroll/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopUnroll/Hexagon/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopUnroll/RISCV/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/LoopUnroll/WebAssembly/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopUnroll/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopVectorize/AArch64/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/LoopVectorize/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopVectorize/Hexagon/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopVectorize/RISCV/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/LoopVectorize/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopVectorize/VE/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/LoopVectorize/XCore/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/MergeICmps/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/NaryReassociate/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/PGOProfile/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/PartiallyInlineLibCalls/X86/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/PhaseOrdering/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/PhaseOrdering/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/PhaseOrdering/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/RewriteStatepointsForGC/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SLPVectorizer/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SLPVectorizer/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SLPVectorizer/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SLPVectorizer/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SLPVectorizer/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SLPVectorizer/VE/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/SLPVectorizer/WebAssembly/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SLPVectorizer/XCore/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SafeStack/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SafeStack/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SafeStack/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SeparateConstOffsetFromGEP/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SimpleLoopUnswitch/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SimplifyCFG/AArch64/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/SimplifyCFG/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SimplifyCFG/ARM/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/SimplifyCFG/Hexagon/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/SimplifyCFG/Mips/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/SimplifyCFG/PowerPC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SimplifyCFG/RISCV/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/StructurizeCFG/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg4
-rw-r--r--llvm/test/Transforms/TypePromotion/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/TypePromotion/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/VectorCombine/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/VectorCombine/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/VectorCombine/Hexagon/lit.local.cfg2
-rw-r--r--llvm/test/Transforms/VectorCombine/X86/lit.local.cfg2
-rw-r--r--llvm/test/Verifier/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/Verifier/ARM/lit.local.cfg2
-rw-r--r--llvm/test/Verifier/LoongArch/lit.local.cfg2
-rw-r--r--llvm/test/Verifier/Mips/lit.local.cfg2
-rw-r--r--llvm/test/Verifier/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/tools/UpdateTestChecks/lit.local.cfg45
-rw-r--r--llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/lit.local.cfg2
-rw-r--r--llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lit.local.cfg2
-rw-r--r--llvm/test/tools/UpdateTestChecks/update_mir_test_checks/lit.local.cfg2
-rw-r--r--llvm/test/tools/UpdateTestChecks/update_test_checks/lit.local.cfg2
-rw-r--r--llvm/test/tools/dsymutil/ARM/lit.local.cfg12
-rw-r--r--llvm/test/tools/dsymutil/X86/lit.local.cfg10
-rw-r--r--llvm/test/tools/dxil-dis/lit.local.cfg4
-rw-r--r--llvm/test/tools/gold/PowerPC/lit.local.cfg5
-rw-r--r--llvm/test/tools/gold/X86/lit.local.cfg5
-rw-r--r--llvm/test/tools/gold/X86/v1.12/lit.local.cfg42
-rw-r--r--llvm/test/tools/gold/X86/v1.16/lit.local.cfg42
-rw-r--r--llvm/test/tools/gold/lit.local.cfg10
-rw-r--r--llvm/test/tools/llvm-as/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-cfi-verify/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-cfi-verify/X86/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-cov/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-cxxdump/X86/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-dlltool/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-driver/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-dwarfdump/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-dwarfdump/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-dwarfdump/ARM/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-dwarfdump/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-dwarfdump/X86/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-dwarfdump/XCOFF/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-dwarfutil/ELF/X86/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-dwp/WebAssembly/lit.local.cfg4
-rw-r--r--llvm/test/tools/llvm-dwp/X86/lit.local.cfg4
-rw-r--r--llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg4
-rw-r--r--llvm/test/tools/llvm-exegesis/Mips/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg4
-rw-r--r--llvm/test/tools/llvm-exegesis/X86/lit.local.cfg4
-rw-r--r--llvm/test/tools/llvm-exegesis/lit.local.cfg37
-rw-r--r--llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-ifs/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-lib/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-lto2/X86/lit.local.cfg4
-rw-r--r--llvm/test/tools/llvm-mc/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-mca/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-mca/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-mca/ARM/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-mca/JSON/X86/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-mca/SystemZ/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-mca/X86/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-mca/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-ml/lit.local.cfg6
-rw-r--r--llvm/test/tools/llvm-nm/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-nm/ARM/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-nm/X86/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-nm/wasm/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/ELF/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/ELF/ARM/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/ELF/Hexagon/lit.local.cfg6
-rw-r--r--llvm/test/tools/llvm-objdump/ELF/Lanai/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/ELF/Mips/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/ELF/PowerPC/lit.local.cfg4
-rw-r--r--llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/MachO/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/MachO/ARM/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/MachO/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/X86/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/XCOFF/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-objdump/wasm/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-pdbutil/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-profdata/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-profgen/lit.local.cfg6
-rw-r--r--llvm/test/tools/llvm-readobj/ELF/AArch64/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-readobj/ELF/ARM/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg2
-rw-r--r--llvm/test/tools/llvm-readobj/XCOFF/lit.local.cfg2
-rw-r--r--llvm/test/tools/lto/lit.local.cfg4
-rw-r--r--llvm/test/tools/opt-viewer/lit.local.cfg4
-rw-r--r--llvm/test/tools/sancov/lit.local.cfg2
-rw-r--r--llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg4
-rw-r--r--llvm/utils/lit/tests/Inputs/shtest-format/external_shell/lit.local.cfg1
-rw-r--r--llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg1
-rw-r--r--llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg1
428 files changed, 681 insertions, 627 deletions
diff --git a/llvm/test/Analysis/CostModel/AArch64/lit.local.cfg b/llvm/test/Analysis/CostModel/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Analysis/CostModel/AArch64/lit.local.cfg
+++ b/llvm/test/Analysis/CostModel/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Analysis/CostModel/AMDGPU/lit.local.cfg b/llvm/test/Analysis/CostModel/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Analysis/CostModel/AMDGPU/lit.local.cfg
+++ b/llvm/test/Analysis/CostModel/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Analysis/CostModel/ARM/lit.local.cfg b/llvm/test/Analysis/CostModel/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Analysis/CostModel/ARM/lit.local.cfg
+++ b/llvm/test/Analysis/CostModel/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.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 091332439b18..bb982488eb15 100644
--- a/llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg
+++ b/llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Analysis/CostModel/RISCV/lit.local.cfg b/llvm/test/Analysis/CostModel/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/Analysis/CostModel/RISCV/lit.local.cfg
+++ b/llvm/test/Analysis/CostModel/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Analysis/CostModel/SystemZ/lit.local.cfg b/llvm/test/Analysis/CostModel/SystemZ/lit.local.cfg
index 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/Analysis/CostModel/SystemZ/lit.local.cfg
+++ b/llvm/test/Analysis/CostModel/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.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 c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Analysis/CostModel/X86/lit.local.cfg
+++ b/llvm/test/Analysis/CostModel/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Analysis/Delinearization/lit.local.cfg b/llvm/test/Analysis/Delinearization/lit.local.cfg
index c6106e4746f2..1b272e3c44d7 100644
--- a/llvm/test/Analysis/Delinearization/lit.local.cfg
+++ b/llvm/test/Analysis/Delinearization/lit.local.cfg
@@ -1 +1 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
diff --git a/llvm/test/Analysis/DotMachineCFG/AMDGPU/lit.local.cfg b/llvm/test/Analysis/DotMachineCFG/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Analysis/DotMachineCFG/AMDGPU/lit.local.cfg
+++ b/llvm/test/Analysis/DotMachineCFG/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Analysis/Lint/lit.local.cfg b/llvm/test/Analysis/Lint/lit.local.cfg
index c6106e4746f2..1b272e3c44d7 100644
--- a/llvm/test/Analysis/Lint/lit.local.cfg
+++ b/llvm/test/Analysis/Lint/lit.local.cfg
@@ -1 +1 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
diff --git a/llvm/test/Analysis/LoopCacheAnalysis/PowerPC/lit.local.cfg b/llvm/test/Analysis/LoopCacheAnalysis/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Analysis/LoopCacheAnalysis/PowerPC/lit.local.cfg
+++ b/llvm/test/Analysis/LoopCacheAnalysis/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Analysis/UniformityAnalysis/AMDGPU/lit.local.cfg b/llvm/test/Analysis/UniformityAnalysis/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Analysis/UniformityAnalysis/AMDGPU/lit.local.cfg
+++ b/llvm/test/Analysis/UniformityAnalysis/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Analysis/UniformityAnalysis/NVPTX/lit.local.cfg b/llvm/test/Analysis/UniformityAnalysis/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/Analysis/UniformityAnalysis/NVPTX/lit.local.cfg
+++ b/llvm/test/Analysis/UniformityAnalysis/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Bindings/OCaml/Utils/lit.local.cfg b/llvm/test/Bindings/OCaml/Utils/lit.local.cfg
index 53edf1edae2a..a8c015b8ec8e 100644
--- a/llvm/test/Bindings/OCaml/Utils/lit.local.cfg
+++ b/llvm/test/Bindings/OCaml/Utils/lit.local.cfg
@@ -1,2 +1,2 @@
# This is a directory for utility functions. No test here.
-config.suffixes = ['.dummy']
+config.suffixes = [".dummy"]
diff --git a/llvm/test/Bindings/OCaml/lit.local.cfg b/llvm/test/Bindings/OCaml/lit.local.cfg
index 364b97c632e8..03e71e9c682a 100644
--- a/llvm/test/Bindings/OCaml/lit.local.cfg
+++ b/llvm/test/Bindings/OCaml/lit.local.cfg
@@ -1,4 +1,4 @@
-config.suffixes = ['.ml']
+config.suffixes = [".ml"]
-if not 'ocaml' in config.root.llvm_bindings:
+if not "ocaml" in config.root.llvm_bindings:
config.unsupported = True
diff --git a/llvm/test/CodeGen/AArch64/lit.local.cfg b/llvm/test/CodeGen/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/CodeGen/AArch64/lit.local.cfg
+++ b/llvm/test/CodeGen/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/AMDGPU/lit.local.cfg b/llvm/test/CodeGen/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/CodeGen/AMDGPU/lit.local.cfg
+++ b/llvm/test/CodeGen/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/ARC/lit.local.cfg b/llvm/test/CodeGen/ARC/lit.local.cfg
index fc3d380e30c2..efe5cc5cf0ac 100644
--- a/llvm/test/CodeGen/ARC/lit.local.cfg
+++ b/llvm/test/CodeGen/ARC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARC' in config.root.targets:
+if not "ARC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/ARM/lit.local.cfg b/llvm/test/CodeGen/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/CodeGen/ARM/lit.local.cfg
+++ b/llvm/test/CodeGen/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/AVR/lit.local.cfg b/llvm/test/CodeGen/AVR/lit.local.cfg
index 908656a3ee45..1724fb233c16 100644
--- a/llvm/test/CodeGen/AVR/lit.local.cfg
+++ b/llvm/test/CodeGen/AVR/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AVR' in config.root.targets:
+if not "AVR" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/BPF/lit.local.cfg b/llvm/test/CodeGen/BPF/lit.local.cfg
index 36a70677f280..d1828f2b613d 100644
--- a/llvm/test/CodeGen/BPF/lit.local.cfg
+++ b/llvm/test/CodeGen/BPF/lit.local.cfg
@@ -1,4 +1,4 @@
-if not 'BPF' in config.root.targets:
+if not "BPF" in config.root.targets:
config.unsupported = True
-if 'system-aix' in config.available_features:
+if "system-aix" in config.available_features:
config.unsupported = True
diff --git a/llvm/test/CodeGen/CSKY/fpu/lit.local.cfg b/llvm/test/CodeGen/CSKY/fpu/lit.local.cfg
index 37335bd73685..fd6373bcf608 100644
--- a/llvm/test/CodeGen/CSKY/fpu/lit.local.cfg
+++ b/llvm/test/CodeGen/CSKY/fpu/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'CSKY' in config.root.targets:
+if not "CSKY" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/CSKY/lit.local.cfg b/llvm/test/CodeGen/CSKY/lit.local.cfg
index 37335bd73685..fd6373bcf608 100644
--- a/llvm/test/CodeGen/CSKY/lit.local.cfg
+++ b/llvm/test/CodeGen/CSKY/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'CSKY' in config.root.targets:
+if not "CSKY" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/DirectX/lit.local.cfg b/llvm/test/CodeGen/DirectX/lit.local.cfg
index 95c31776c9a5..72de724f06d7 100644
--- a/llvm/test/CodeGen/DirectX/lit.local.cfg
+++ b/llvm/test/CodeGen/DirectX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'DirectX' in config.root.targets:
- config.unsupported = True
+if not "DirectX" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/CodeGen/Hexagon/lit.local.cfg b/llvm/test/CodeGen/Hexagon/lit.local.cfg
index cc6a7edf05f3..3bed54b1a88d 100644
--- a/llvm/test/CodeGen/Hexagon/lit.local.cfg
+++ b/llvm/test/CodeGen/Hexagon/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/Lanai/lit.local.cfg b/llvm/test/CodeGen/Lanai/lit.local.cfg
index f1b8b4f4e21f..2384de1dd78b 100644
--- a/llvm/test/CodeGen/Lanai/lit.local.cfg
+++ b/llvm/test/CodeGen/Lanai/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/LoongArch/lit.local.cfg b/llvm/test/CodeGen/LoongArch/lit.local.cfg
index a54f5aeca4ab..bc630dbef706 100644
--- a/llvm/test/CodeGen/LoongArch/lit.local.cfg
+++ b/llvm/test/CodeGen/LoongArch/lit.local.cfg
@@ -1,13 +1,16 @@
import os
-config.suffixes = ['.ll', '.mir', '.test', '.txt']
+config.suffixes = [".ll", ".mir", ".test", ".txt"]
-extract_section_path = os.path.join(config.llvm_src_root,
- 'utils', 'extract-section.py')
+extract_section_path = os.path.join(config.llvm_src_root, "utils", "extract-section.py")
-config.substitutions.append(('extract-section',
- "'%s' %s %s" % (config.python_executable,
- extract_section_path, '--bits-endian little')))
+config.substitutions.append(
+ (
+ "extract-section",
+ "'%s' %s %s"
+ % (config.python_executable, extract_section_path, "--bits-endian little"),
+ )
+)
-if not 'LoongArch' in config.root.targets:
+if not "LoongArch" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/M68k/lit.local.cfg b/llvm/test/CodeGen/M68k/lit.local.cfg
index f42093af0770..571ff6a748bf 100644
--- a/llvm/test/CodeGen/M68k/lit.local.cfg
+++ b/llvm/test/CodeGen/M68k/lit.local.cfg
@@ -1,14 +1,20 @@
import os
-config.suffixes = ['.ll', '.mir', '.test', '.txt']
+config.suffixes = [".ll", ".mir", ".test", ".txt"]
-extract_section_path = os.path.join(config.llvm_src_root,
- 'utils', 'extract-section.py')
+extract_section_path = os.path.join(config.llvm_src_root, "utils", "extract-section.py")
-config.substitutions.append(('extract-section',
- "'%s' %s %s" % (config.python_executable,
- extract_section_path, '--byte-indicator --hex-width=2')))
+config.substitutions.append(
+ (
+ "extract-section",
+ "'%s' %s %s"
+ % (
+ config.python_executable,
+ extract_section_path,
+ "--byte-indicator --hex-width=2",
+ ),
+ )
+)
-if not 'M68k' in config.root.targets:
+if not "M68k" in config.root.targets:
config.unsupported = True
-
diff --git a/llvm/test/CodeGen/MIR/AArch64/lit.local.cfg b/llvm/test/CodeGen/MIR/AArch64/lit.local.cfg
index f4f77c5aa312..d7945e5aace5 100644
--- a/llvm/test/CodeGen/MIR/AArch64/lit.local.cfg
+++ b/llvm/test/CodeGen/MIR/AArch64/lit.local.cfg
@@ -1,8 +1,8 @@
import re
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
# For now we don't test arm64-win32.
-if re.search(r'cygwin|mingw32|win32|windows-gnu|windows-msvc', config.target_triple):
+if re.search(r"cygwin|mingw32|win32|windows-gnu|windows-msvc", config.target_triple):
config.unsupported = True
diff --git a/llvm/test/CodeGen/MIR/AMDGPU/lit.local.cfg b/llvm/test/CodeGen/MIR/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/CodeGen/MIR/AMDGPU/lit.local.cfg
+++ b/llvm/test/CodeGen/MIR/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/MIR/ARM/lit.local.cfg b/llvm/test/CodeGen/MIR/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/CodeGen/MIR/ARM/lit.local.cfg
+++ b/llvm/test/CodeGen/MIR/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/MIR/Generic/lit.local.cfg b/llvm/test/CodeGen/MIR/Generic/lit.local.cfg
index b2fc1412af24..0f2992fb7506 100644
--- a/llvm/test/CodeGen/MIR/Generic/lit.local.cfg
+++ b/llvm/test/CodeGen/MIR/Generic/lit.local.cfg
@@ -1,2 +1,2 @@
-if 'native' not in config.available_features:
+if "native" not in config.available_features:
config.unsupported = True
diff --git a/llvm/test/CodeGen/MIR/Hexagon/lit.local.cfg b/llvm/test/CodeGen/MIR/Hexagon/lit.local.cfg
index cc6a7edf05f3..3bed54b1a88d 100644
--- a/llvm/test/CodeGen/MIR/Hexagon/lit.local.cfg
+++ b/llvm/test/CodeGen/MIR/Hexagon/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/MIR/Mips/lit.local.cfg b/llvm/test/CodeGen/MIR/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/CodeGen/MIR/Mips/lit.local.cfg
+++ b/llvm/test/CodeGen/MIR/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/MIR/NVPTX/lit.local.cfg b/llvm/test/CodeGen/MIR/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/CodeGen/MIR/NVPTX/lit.local.cfg
+++ b/llvm/test/CodeGen/MIR/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/MIR/PowerPC/lit.local.cfg b/llvm/test/CodeGen/MIR/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/CodeGen/MIR/PowerPC/lit.local.cfg
+++ b/llvm/test/CodeGen/MIR/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/MIR/RISCV/lit.local.cfg b/llvm/test/CodeGen/MIR/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/CodeGen/MIR/RISCV/lit.local.cfg
+++ b/llvm/test/CodeGen/MIR/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/MIR/WebAssembly/lit.local.cfg b/llvm/test/CodeGen/MIR/WebAssembly/lit.local.cfg
index 743473517cd0..d5f39ab4dbc8 100644
--- a/llvm/test/CodeGen/MIR/WebAssembly/lit.local.cfg
+++ b/llvm/test/CodeGen/MIR/WebAssembly/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/MIR/X86/lit.local.cfg b/llvm/test/CodeGen/MIR/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/CodeGen/MIR/X86/lit.local.cfg
+++ b/llvm/test/CodeGen/MIR/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/MSP430/lit.local.cfg b/llvm/test/CodeGen/MSP430/lit.local.cfg
index 4ad9495c56fc..f19a7a9c6d0a 100644
--- a/llvm/test/CodeGen/MSP430/lit.local.cfg
+++ b/llvm/test/CodeGen/MSP430/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'MSP430' in config.root.targets:
+if not "MSP430" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/Mips/lit.local.cfg b/llvm/test/CodeGen/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/CodeGen/Mips/lit.local.cfg
+++ b/llvm/test/CodeGen/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/NVPTX/lit.local.cfg b/llvm/test/CodeGen/NVPTX/lit.local.cfg
index 8354800109eb..e3f06d1a720e 100644
--- a/llvm/test/CodeGen/NVPTX/lit.local.cfg
+++ b/llvm/test/CodeGen/NVPTX/lit.local.cfg
@@ -1,3 +1,3 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
-config.suffixes.add('.py')
+config.suffixes.add(".py")
diff --git a/llvm/test/CodeGen/PowerPC/lit.local.cfg b/llvm/test/CodeGen/PowerPC/lit.local.cfg
index 1dbbf92fcf5e..3e8c0f8b1842 100644
--- a/llvm/test/CodeGen/PowerPC/lit.local.cfg
+++ b/llvm/test/CodeGen/PowerPC/lit.local.cfg
@@ -1,4 +1,4 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
-config.suffixes.add('.py')
+config.suffixes.add(".py")
diff --git a/llvm/test/CodeGen/RISCV/lit.local.cfg b/llvm/test/CodeGen/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/CodeGen/RISCV/lit.local.cfg
+++ b/llvm/test/CodeGen/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/SPARC/lit.local.cfg b/llvm/test/CodeGen/SPARC/lit.local.cfg
index d86c9e6d943a..4f5128663c5a 100644
--- a/llvm/test/CodeGen/SPARC/lit.local.cfg
+++ b/llvm/test/CodeGen/SPARC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/SPIRV/lit.local.cfg b/llvm/test/CodeGen/SPIRV/lit.local.cfg
index 5c9b0f15271c..78dd74cd6dc6 100644
--- a/llvm/test/CodeGen/SPIRV/lit.local.cfg
+++ b/llvm/test/CodeGen/SPIRV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SPIRV' in config.root.targets:
+if not "SPIRV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg b/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg
index dcfac5b37ba3..88a2a3d80b3d 100644
--- a/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg
+++ b/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg
@@ -1,9 +1,9 @@
-config.suffixes = [ '.ll', '.py' ]
+config.suffixes = [".ll", ".py"]
# These tests take on the order of seconds to run, so skip them unless
# we're running long tests.
-if 'long_tests' not in config.available_features:
+if "long_tests" not in config.available_features:
config.unsupported = True
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/SystemZ/lit.local.cfg b/llvm/test/CodeGen/SystemZ/lit.local.cfg
index 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/CodeGen/SystemZ/lit.local.cfg
+++ b/llvm/test/CodeGen/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/Thumb/lit.local.cfg b/llvm/test/CodeGen/Thumb/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/CodeGen/Thumb/lit.local.cfg
+++ b/llvm/test/CodeGen/Thumb/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/Thumb2/lit.local.cfg b/llvm/test/CodeGen/Thumb2/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/CodeGen/Thumb2/lit.local.cfg
+++ b/llvm/test/CodeGen/Thumb2/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/VE/VELIntrinsics/lit.local.cfg b/llvm/test/CodeGen/VE/VELIntrinsics/lit.local.cfg
index b6366779272d..d52a71f497cb 100644
--- a/llvm/test/CodeGen/VE/VELIntrinsics/lit.local.cfg
+++ b/llvm/test/CodeGen/VE/VELIntrinsics/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'VE' in config.root.targets:
+if not "VE" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/VE/lit.local.cfg b/llvm/test/CodeGen/VE/lit.local.cfg
index b6366779272d..d52a71f497cb 100644
--- a/llvm/test/CodeGen/VE/lit.local.cfg
+++ b/llvm/test/CodeGen/VE/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'VE' in config.root.targets:
+if not "VE" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/WebAssembly/lit.local.cfg b/llvm/test/CodeGen/WebAssembly/lit.local.cfg
index 743473517cd0..d5f39ab4dbc8 100644
--- a/llvm/test/CodeGen/WebAssembly/lit.local.cfg
+++ b/llvm/test/CodeGen/WebAssembly/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/WinCFGuard/lit.local.cfg b/llvm/test/CodeGen/WinCFGuard/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/CodeGen/WinCFGuard/lit.local.cfg
+++ b/llvm/test/CodeGen/WinCFGuard/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/WinEH/lit.local.cfg b/llvm/test/CodeGen/WinEH/lit.local.cfg
index f5566ca3b376..b39ce3299f7e 100644
--- a/llvm/test/CodeGen/WinEH/lit.local.cfg
+++ b/llvm/test/CodeGen/WinEH/lit.local.cfg
@@ -4,8 +4,8 @@
#
# It should be possible to remove this override once all the bots have cycled
# cleanly.
-config.suffixes = ['.ll', '.test', '.txt']
+config.suffixes = [".ll", ".test", ".txt"]
# FIXME: Add Windows on ARM support to these tests.
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.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 c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/CodeGen/X86/GC/lit.local.cfg
+++ b/llvm/test/CodeGen/X86/GC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/X86/lit.local.cfg b/llvm/test/CodeGen/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/CodeGen/X86/lit.local.cfg
+++ b/llvm/test/CodeGen/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/CodeGen/XCore/lit.local.cfg b/llvm/test/CodeGen/XCore/lit.local.cfg
index bb48713fe33e..26c8076e1ef7 100644
--- a/llvm/test/CodeGen/XCore/lit.local.cfg
+++ b/llvm/test/CodeGen/XCore/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'XCore' in config.root.targets:
+if not "XCore" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/AArch64/lit.local.cfg b/llvm/test/DebugInfo/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/DebugInfo/AArch64/lit.local.cfg
+++ b/llvm/test/DebugInfo/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/AMDGPU/lit.local.cfg b/llvm/test/DebugInfo/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/DebugInfo/AMDGPU/lit.local.cfg
+++ b/llvm/test/DebugInfo/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/ARM/lit.local.cfg b/llvm/test/DebugInfo/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/DebugInfo/ARM/lit.local.cfg
+++ b/llvm/test/DebugInfo/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/BPF/lit.local.cfg b/llvm/test/DebugInfo/BPF/lit.local.cfg
index a4ab2624af61..0fe841da7d0e 100644
--- a/llvm/test/DebugInfo/BPF/lit.local.cfg
+++ b/llvm/test/DebugInfo/BPF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'BPF' in config.root.targets:
+if not "BPF" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/COFF/AArch64/lit.local.cfg b/llvm/test/DebugInfo/COFF/AArch64/lit.local.cfg
index 4004363241de..338348261354 100644
--- a/llvm/test/DebugInfo/COFF/AArch64/lit.local.cfg
+++ b/llvm/test/DebugInfo/COFF/AArch64/lit.local.cfg
@@ -1,3 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
-
diff --git a/llvm/test/DebugInfo/COFF/ARMNT/lit.local.cfg b/llvm/test/DebugInfo/COFF/ARMNT/lit.local.cfg
index 98c6700c209d..7c23e4f98013 100644
--- a/llvm/test/DebugInfo/COFF/ARMNT/lit.local.cfg
+++ b/llvm/test/DebugInfo/COFF/ARMNT/lit.local.cfg
@@ -1,3 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
-
diff --git a/llvm/test/DebugInfo/COFF/lit.local.cfg b/llvm/test/DebugInfo/COFF/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/DebugInfo/COFF/lit.local.cfg
+++ b/llvm/test/DebugInfo/COFF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/CSKY/lit.local.cfg b/llvm/test/DebugInfo/CSKY/lit.local.cfg
index 37335bd73685..fd6373bcf608 100644
--- a/llvm/test/DebugInfo/CSKY/lit.local.cfg
+++ b/llvm/test/DebugInfo/CSKY/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'CSKY' in config.root.targets:
+if not "CSKY" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/Lanai/lit.local.cfg b/llvm/test/DebugInfo/Lanai/lit.local.cfg
index f1b8b4f4e21f..2384de1dd78b 100644
--- a/llvm/test/DebugInfo/Lanai/lit.local.cfg
+++ b/llvm/test/DebugInfo/Lanai/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/MIR/AArch64/lit.local.cfg b/llvm/test/DebugInfo/MIR/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/DebugInfo/MIR/AArch64/lit.local.cfg
+++ b/llvm/test/DebugInfo/MIR/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/MIR/ARM/lit.local.cfg b/llvm/test/DebugInfo/MIR/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/DebugInfo/MIR/ARM/lit.local.cfg
+++ b/llvm/test/DebugInfo/MIR/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/MIR/Hexagon/lit.local.cfg b/llvm/test/DebugInfo/MIR/Hexagon/lit.local.cfg
index cc6a7edf05f3..3bed54b1a88d 100644
--- a/llvm/test/DebugInfo/MIR/Hexagon/lit.local.cfg
+++ b/llvm/test/DebugInfo/MIR/Hexagon/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/MIR/InstrRef/lit.local.cfg b/llvm/test/DebugInfo/MIR/InstrRef/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/DebugInfo/MIR/InstrRef/lit.local.cfg
+++ b/llvm/test/DebugInfo/MIR/InstrRef/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/MIR/Mips/lit.local.cfg b/llvm/test/DebugInfo/MIR/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/DebugInfo/MIR/Mips/lit.local.cfg
+++ b/llvm/test/DebugInfo/MIR/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/MIR/SystemZ/lit.local.cfg b/llvm/test/DebugInfo/MIR/SystemZ/lit.local.cfg
index 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/DebugInfo/MIR/SystemZ/lit.local.cfg
+++ b/llvm/test/DebugInfo/MIR/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/MIR/X86/lit.local.cfg b/llvm/test/DebugInfo/MIR/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/DebugInfo/MIR/X86/lit.local.cfg
+++ b/llvm/test/DebugInfo/MIR/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/MIR/lit.local.cfg b/llvm/test/DebugInfo/MIR/lit.local.cfg
index a6c963243226..1bd08622f889 100644
--- a/llvm/test/DebugInfo/MIR/lit.local.cfg
+++ b/llvm/test/DebugInfo/MIR/lit.local.cfg
@@ -1 +1 @@
-config.suffixes = ['.mir']
+config.suffixes = [".mir"]
diff --git a/llvm/test/DebugInfo/MSP430/lit.local.cfg b/llvm/test/DebugInfo/MSP430/lit.local.cfg
index 4ad9495c56fc..f19a7a9c6d0a 100644
--- a/llvm/test/DebugInfo/MSP430/lit.local.cfg
+++ b/llvm/test/DebugInfo/MSP430/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'MSP430' in config.root.targets:
+if not "MSP430" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/Mips/lit.local.cfg b/llvm/test/DebugInfo/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/DebugInfo/Mips/lit.local.cfg
+++ b/llvm/test/DebugInfo/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/NVPTX/lit.local.cfg b/llvm/test/DebugInfo/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/DebugInfo/NVPTX/lit.local.cfg
+++ b/llvm/test/DebugInfo/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/PowerPC/lit.local.cfg b/llvm/test/DebugInfo/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/DebugInfo/PowerPC/lit.local.cfg
+++ b/llvm/test/DebugInfo/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/RISCV/lit.local.cfg b/llvm/test/DebugInfo/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/DebugInfo/RISCV/lit.local.cfg
+++ b/llvm/test/DebugInfo/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/Sparc/lit.local.cfg b/llvm/test/DebugInfo/Sparc/lit.local.cfg
index d86c9e6d943a..4f5128663c5a 100644
--- a/llvm/test/DebugInfo/Sparc/lit.local.cfg
+++ b/llvm/test/DebugInfo/Sparc/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/SystemZ/lit.local.cfg b/llvm/test/DebugInfo/SystemZ/lit.local.cfg
index 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/DebugInfo/SystemZ/lit.local.cfg
+++ b/llvm/test/DebugInfo/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/WebAssembly/lit.local.cfg b/llvm/test/DebugInfo/WebAssembly/lit.local.cfg
index 743473517cd0..d5f39ab4dbc8 100644
--- a/llvm/test/DebugInfo/WebAssembly/lit.local.cfg
+++ b/llvm/test/DebugInfo/WebAssembly/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/X86/lit.local.cfg b/llvm/test/DebugInfo/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/DebugInfo/X86/lit.local.cfg
+++ b/llvm/test/DebugInfo/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/XCOFF/lit.local.cfg b/llvm/test/DebugInfo/XCOFF/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/DebugInfo/XCOFF/lit.local.cfg
+++ b/llvm/test/DebugInfo/XCOFF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/XCore/lit.local.cfg b/llvm/test/DebugInfo/XCore/lit.local.cfg
index bb48713fe33e..26c8076e1ef7 100644
--- a/llvm/test/DebugInfo/XCore/lit.local.cfg
+++ b/llvm/test/DebugInfo/XCore/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'XCore' in config.root.targets:
+if not "XCore" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/assignment-tracking/AArch64/lit.local.cfg b/llvm/test/DebugInfo/assignment-tracking/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/DebugInfo/assignment-tracking/AArch64/lit.local.cfg
+++ b/llvm/test/DebugInfo/assignment-tracking/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/DebugInfo/assignment-tracking/X86/lit.local.cfg b/llvm/test/DebugInfo/assignment-tracking/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/DebugInfo/assignment-tracking/X86/lit.local.cfg
+++ b/llvm/test/DebugInfo/assignment-tracking/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Examples/lit.local.cfg b/llvm/test/Examples/lit.local.cfg
index a9f386033360..f9127daf813c 100644
--- a/llvm/test/Examples/lit.local.cfg
+++ b/llvm/test/Examples/lit.local.cfg
@@ -1,5 +1,5 @@
-if not config.build_examples or sys.platform in ['win32']:
- config.unsupported = True
+if not config.build_examples or sys.platform in ["win32"]:
+ config.unsupported = True
# Test discovery should ignore subdirectories that contain test inputs.
-config.excludes = ['Inputs']
+config.excludes = ["Inputs"]
diff --git a/llvm/test/ExecutionEngine/JITLink/AArch32/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/AArch32/lit.local.cfg
index 20e19aeb06f9..7c23e4f98013 100644
--- a/llvm/test/ExecutionEngine/JITLink/AArch32/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/JITLink/AArch32/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
- config.unsupported = True
+if not "ARM" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg
index 304f2436ece1..10d4a0e953ed 100644
--- a/llvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
- config.unsupported = True
+if not "AArch64" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/JITLink/LoongArch/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/LoongArch/lit.local.cfg
index a4b6c6f59bdb..cc24278acbb4 100644
--- a/llvm/test/ExecutionEngine/JITLink/LoongArch/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/JITLink/LoongArch/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'LoongArch' in config.root.targets:
- config.unsupported = True
+if not "LoongArch" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/JITLink/RISCV/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/ExecutionEngine/JITLink/RISCV/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/JITLink/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg
index afde89be896d..42bf50dcc13c 100644
--- a/llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
- config.unsupported = True
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/JITLink/x86-64/lit.local.cfg b/llvm/test/ExecutionEngine/JITLink/x86-64/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/ExecutionEngine/JITLink/x86-64/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/JITLink/x86-64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
index e2535ef1dbfd..b6874dd86ead 100644
--- a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
@@ -1,27 +1,43 @@
root = config.root
targets = root.targets
-if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
- ('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets):
+if (
+ ("X86" in targets)
+ | ("AArch64" in targets)
+ | ("ARM" in targets)
+ | ("Mips" in targets)
+ | ("PowerPC" in targets)
+ | ("SystemZ" in targets)
+):
config.unsupported = False
else:
config.unsupported = True
# FIXME: autoconf and cmake produce different arch names. We should normalize
# them before getting here.
-if root.host_arch not in ['i386', 'x86', 'x86_64', 'AMD64',
- 'AArch64', 'ARM', 'Mips',
- 'PowerPC', 'ppc64', 'ppc64le', 'SystemZ']:
+if root.host_arch not in [
+ "i386",
+ "x86",
+ "x86_64",
+ "AMD64",
+ "AArch64",
+ "ARM",
+ "Mips",
+ "PowerPC",
+ "ppc64",
+ "ppc64le",
+ "SystemZ",
+]:
config.unsupported = True
-if 'armv7' in root.host_arch:
+if "armv7" in root.host_arch:
config.unsupported = False
-if 'i386-apple-darwin' in root.target_triple:
+if "i386-apple-darwin" in root.target_triple:
config.unsupported = True
-if 'powerpc' in root.target_triple and not 'powerpc64' in root.target_triple:
+if "powerpc" in root.target_triple and not "powerpc64" in root.target_triple:
config.unsupported = True
# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
-if 'native' not in config.available_features:
+if "native" not in config.available_features:
config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg b/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg
index 625d82dc6189..5095d98a5fd6 100644
--- a/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg
@@ -1,8 +1,7 @@
-if 'armv4' in config.root.target_triple or \
- 'armv5' in config.root.target_triple:
+if "armv4" in config.root.target_triple or "armv5" in config.root.target_triple:
config.unsupported = True
# This is temporary, until Remote MCJIT works on ARM
# See http://llvm.org/bugs/show_bug.cgi?id=18057
-#if 'armv7' in config.root.target_triple:
+# if 'armv7' in config.root.target_triple:
# config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg b/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg
index 3a3d23f2bb33..cbd7c544065d 100644
--- a/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg
@@ -1,10 +1,18 @@
import sys
-if config.root.host_arch not in ['i386', 'x86', 'x86_64', 'AMD64',
- 'mips', 'mipsel', 'mips64', 'mips64el',
- 'loongarch64']:
+if config.root.host_arch not in [
+ "i386",
+ "x86",
+ "x86_64",
+ "AMD64",
+ "mips",
+ "mipsel",
+ "mips64",
+ "mips64el",
+ "loongarch64",
+]:
config.unsupported = True
# FIXME: These tests don't pass with the COFF rtld.
-if sys.platform == 'win32':
+if sys.platform == "win32":
config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/ARM/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/ARM/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/BPF/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/BPF/lit.local.cfg
index a4ab2624af61..0fe841da7d0e 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/BPF/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/BPF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'BPF' in config.root.targets:
+if not "BPF" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/lit.local.cfg
index 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/X86/lit.local.cfg b/llvm/test/ExecutionEngine/RuntimeDyld/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/X86/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/ExecutionEngine/lit.local.cfg b/llvm/test/ExecutionEngine/lit.local.cfg
index b00ef0dcbdf0..59f7cdb62dea 100644
--- a/llvm/test/ExecutionEngine/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/lit.local.cfg
@@ -1,6 +1,6 @@
-if config.root.native_target in ['Sparc', 'PowerPC', 'SystemZ', 'Hexagon', 'RISCV']:
+if config.root.native_target in ["Sparc", "PowerPC", "SystemZ", "Hexagon", "RISCV"]:
config.unsupported = True
# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
-if 'native' not in config.available_features:
+if "native" not in config.available_features:
config.unsupported = True
diff --git a/llvm/test/FileCheck/lit.local.cfg b/llvm/test/FileCheck/lit.local.cfg
index 9164f683fc1b..f9aa2004173a 100644
--- a/llvm/test/FileCheck/lit.local.cfg
+++ b/llvm/test/FileCheck/lit.local.cfg
@@ -52,5 +52,4 @@ config.test_format = lit.formats.ShTest(execute_external=False)
# debugging tests. If a developer sets values that affect FileCheck's exit
# status (e.g., FILECHECK_OPTS=-strict-whitespace), he shouldn't be surprised
# that test results throughout all test suites are affected.
-config.substitutions.append(('%ProtectFileCheckOutput',
- 'env -u FILECHECK_OPTS'))
+config.substitutions.append(("%ProtectFileCheckOutput", "env -u FILECHECK_OPTS"))
diff --git a/llvm/test/Instrumentation/AddressSanitizer/AMDGPU/lit.local.cfg b/llvm/test/Instrumentation/AddressSanitizer/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Instrumentation/AddressSanitizer/AMDGPU/lit.local.cfg
+++ b/llvm/test/Instrumentation/AddressSanitizer/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg b/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
+++ b/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Instrumentation/InstrProfiling/X86/lit.local.cfg b/llvm/test/Instrumentation/InstrProfiling/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Instrumentation/InstrProfiling/X86/lit.local.cfg
+++ b/llvm/test/Instrumentation/InstrProfiling/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/JitListener/lit.local.cfg b/llvm/test/JitListener/lit.local.cfg
index 1576fbe9edd2..d4da7c9fec56 100644
--- a/llvm/test/JitListener/lit.local.cfg
+++ b/llvm/test/JitListener/lit.local.cfg
@@ -1,3 +1,3 @@
if not config.root.llvm_use_intel_jitevents:
config.unsupported = True
-config.environment['INTEL_JIT_BACKWARD_COMPATIBILITY'] = '1'
+config.environment["INTEL_JIT_BACKWARD_COMPATIBILITY"] = "1"
diff --git a/llvm/test/LTO/AArch64/lit.local.cfg b/llvm/test/LTO/AArch64/lit.local.cfg
index 304f2436ece1..10d4a0e953ed 100644
--- a/llvm/test/LTO/AArch64/lit.local.cfg
+++ b/llvm/test/LTO/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
- config.unsupported = True
+if not "AArch64" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/LTO/ARM/lit.local.cfg b/llvm/test/LTO/ARM/lit.local.cfg
index 20e19aeb06f9..7c23e4f98013 100644
--- a/llvm/test/LTO/ARM/lit.local.cfg
+++ b/llvm/test/LTO/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
- config.unsupported = True
+if not "ARM" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/LTO/PowerPC/lit.local.cfg b/llvm/test/LTO/PowerPC/lit.local.cfg
index a6bb58cf187c..bb982488eb15 100644
--- a/llvm/test/LTO/PowerPC/lit.local.cfg
+++ b/llvm/test/LTO/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
- config.unsupported = True
+if not "PowerPC" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/LTO/Resolution/X86/lit.local.cfg b/llvm/test/LTO/Resolution/X86/lit.local.cfg
index afde89be896d..42bf50dcc13c 100644
--- a/llvm/test/LTO/Resolution/X86/lit.local.cfg
+++ b/llvm/test/LTO/Resolution/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
- config.unsupported = True
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/LTO/X86/lit.local.cfg b/llvm/test/LTO/X86/lit.local.cfg
index afde89be896d..42bf50dcc13c 100644
--- a/llvm/test/LTO/X86/lit.local.cfg
+++ b/llvm/test/LTO/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
- config.unsupported = True
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/MC/AArch64/lit.local.cfg b/llvm/test/MC/AArch64/lit.local.cfg
index 5822b7226687..f29a793a6951 100644
--- a/llvm/test/MC/AArch64/lit.local.cfg
+++ b/llvm/test/MC/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if 'AArch64' not in config.root.targets:
+if "AArch64" not in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/AMDGPU/lit.local.cfg b/llvm/test/MC/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/MC/AMDGPU/lit.local.cfg
+++ b/llvm/test/MC/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/AMDGPU/regression/lit.local.cfg b/llvm/test/MC/AMDGPU/regression/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/MC/AMDGPU/regression/lit.local.cfg
+++ b/llvm/test/MC/AMDGPU/regression/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg b/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg
+++ b/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/ARM/lit.local.cfg b/llvm/test/MC/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/MC/ARM/lit.local.cfg
+++ b/llvm/test/MC/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/AVR/lit.local.cfg b/llvm/test/MC/AVR/lit.local.cfg
index 908656a3ee45..1724fb233c16 100644
--- a/llvm/test/MC/AVR/lit.local.cfg
+++ b/llvm/test/MC/AVR/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AVR' in config.root.targets:
+if not "AVR" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/AsmParser/AArch64/lit.local.cfg b/llvm/test/MC/AsmParser/AArch64/lit.local.cfg
index 5822b7226687..f29a793a6951 100644
--- a/llvm/test/MC/AsmParser/AArch64/lit.local.cfg
+++ b/llvm/test/MC/AsmParser/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if 'AArch64' not in config.root.targets:
+if "AArch64" not in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/AsmParser/lit.local.cfg b/llvm/test/MC/AsmParser/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/MC/AsmParser/lit.local.cfg
+++ b/llvm/test/MC/AsmParser/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/BPF/lit.local.cfg b/llvm/test/MC/BPF/lit.local.cfg
index a4ab2624af61..0fe841da7d0e 100644
--- a/llvm/test/MC/BPF/lit.local.cfg
+++ b/llvm/test/MC/BPF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'BPF' in config.root.targets:
+if not "BPF" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/COFF/ARM/lit.local.cfg b/llvm/test/MC/COFF/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/MC/COFF/ARM/lit.local.cfg
+++ b/llvm/test/MC/COFF/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/COFF/lit.local.cfg b/llvm/test/MC/COFF/lit.local.cfg
index 03c0f9b7992b..27d427630979 100644
--- a/llvm/test/MC/COFF/lit.local.cfg
+++ b/llvm/test/MC/COFF/lit.local.cfg
@@ -1,4 +1,4 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
-config.suffixes.add('.py')
+config.suffixes.add(".py")
diff --git a/llvm/test/MC/CSKY/lit.local.cfg b/llvm/test/MC/CSKY/lit.local.cfg
index 37335bd73685..fd6373bcf608 100644
--- a/llvm/test/MC/CSKY/lit.local.cfg
+++ b/llvm/test/MC/CSKY/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'CSKY' in config.root.targets:
+if not "CSKY" in config.root.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 5822b7226687..f29a793a6951 100644
--- a/llvm/test/MC/Disassembler/AArch64/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if 'AArch64' not in config.root.targets:
+if "AArch64" not in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Disassembler/AMDGPU/lit.local.cfg b/llvm/test/MC/Disassembler/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/MC/Disassembler/AMDGPU/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Disassembler/ARC/lit.local.cfg b/llvm/test/MC/Disassembler/ARC/lit.local.cfg
index fc3d380e30c2..efe5cc5cf0ac 100644
--- a/llvm/test/MC/Disassembler/ARC/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/ARC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARC' in config.root.targets:
+if not "ARC" in config.root.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 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/MC/Disassembler/ARM/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Disassembler/Hexagon/lit.local.cfg b/llvm/test/MC/Disassembler/Hexagon/lit.local.cfg
index cc6a7edf05f3..3bed54b1a88d 100644
--- a/llvm/test/MC/Disassembler/Hexagon/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/Hexagon/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Disassembler/Lanai/lit.local.cfg b/llvm/test/MC/Disassembler/Lanai/lit.local.cfg
index f1b8b4f4e21f..2384de1dd78b 100644
--- a/llvm/test/MC/Disassembler/Lanai/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/Lanai/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Disassembler/M68k/lit.local.cfg b/llvm/test/MC/Disassembler/M68k/lit.local.cfg
index a0faa52ae52b..dd33fe312cdd 100644
--- a/llvm/test/MC/Disassembler/M68k/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/M68k/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'M68k' in config.root.targets:
+if not "M68k" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Disassembler/MSP430/lit.local.cfg b/llvm/test/MC/Disassembler/MSP430/lit.local.cfg
index 4ad9495c56fc..f19a7a9c6d0a 100644
--- a/llvm/test/MC/Disassembler/MSP430/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/MSP430/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'MSP430' in config.root.targets:
+if not "MSP430" in config.root.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 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/MC/Disassembler/Mips/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Disassembler/PowerPC/lit.local.cfg b/llvm/test/MC/Disassembler/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/MC/Disassembler/PowerPC/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Disassembler/RISCV/lit.local.cfg b/llvm/test/MC/Disassembler/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/MC/Disassembler/RISCV/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Disassembler/Sparc/lit.local.cfg b/llvm/test/MC/Disassembler/Sparc/lit.local.cfg
index d86c9e6d943a..4f5128663c5a 100644
--- a/llvm/test/MC/Disassembler/Sparc/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/Sparc/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.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 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/MC/Disassembler/SystemZ/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Disassembler/WebAssembly/lit.local.cfg b/llvm/test/MC/Disassembler/WebAssembly/lit.local.cfg
index 743473517cd0..d5f39ab4dbc8 100644
--- a/llvm/test/MC/Disassembler/WebAssembly/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/WebAssembly/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.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 c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/MC/Disassembler/X86/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.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 bb48713fe33e..26c8076e1ef7 100644
--- a/llvm/test/MC/Disassembler/XCore/lit.local.cfg
+++ b/llvm/test/MC/Disassembler/XCore/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'XCore' in config.root.targets:
+if not "XCore" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/ELF/AArch64/lit.local.cfg b/llvm/test/MC/ELF/AArch64/lit.local.cfg
index 67e2628a8f56..da10366aae58 100644
--- a/llvm/test/MC/ELF/AArch64/lit.local.cfg
+++ b/llvm/test/MC/ELF/AArch64/lit.local.cfg
@@ -1,3 +1,3 @@
# We have to reset config.unsupported here because the parent directory is
# predicated on 'X86'.
-config.unsupported = 'AArch64' not in config.root.targets
+config.unsupported = "AArch64" not in config.root.targets
diff --git a/llvm/test/MC/ELF/AMDGPU/lit.local.cfg b/llvm/test/MC/ELF/AMDGPU/lit.local.cfg
index f6fbcfe436f0..76ee1b29945e 100644
--- a/llvm/test/MC/ELF/AMDGPU/lit.local.cfg
+++ b/llvm/test/MC/ELF/AMDGPU/lit.local.cfg
@@ -1,3 +1,3 @@
# We have to reset config.unsupported here because the parent directory is
# predicated on 'X86'.
-config.unsupported = 'AMDGPU' not in config.root.targets
+config.unsupported = "AMDGPU" not in config.root.targets
diff --git a/llvm/test/MC/ELF/ARM/lit.local.cfg b/llvm/test/MC/ELF/ARM/lit.local.cfg
index d825cc04bf37..9ff5aec6dfde 100644
--- a/llvm/test/MC/ELF/ARM/lit.local.cfg
+++ b/llvm/test/MC/ELF/ARM/lit.local.cfg
@@ -1,3 +1,3 @@
# We have to reset config.unsupported here because the parent directory is
# predicated on 'X86'.
-config.unsupported = not 'ARM' in config.root.targets
+config.unsupported = not "ARM" in config.root.targets
diff --git a/llvm/test/MC/ELF/RISCV/lit.local.cfg b/llvm/test/MC/ELF/RISCV/lit.local.cfg
index c029408db052..a3d229815906 100644
--- a/llvm/test/MC/ELF/RISCV/lit.local.cfg
+++ b/llvm/test/MC/ELF/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if 'RISCV' not in config.root.targets:
+if "RISCV" not in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/ELF/lit.local.cfg b/llvm/test/MC/ELF/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/MC/ELF/lit.local.cfg
+++ b/llvm/test/MC/ELF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Hexagon/lit.local.cfg b/llvm/test/MC/Hexagon/lit.local.cfg
index cc6a7edf05f3..3bed54b1a88d 100644
--- a/llvm/test/MC/Hexagon/lit.local.cfg
+++ b/llvm/test/MC/Hexagon/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Lanai/lit.local.cfg b/llvm/test/MC/Lanai/lit.local.cfg
index f1b8b4f4e21f..2384de1dd78b 100644
--- a/llvm/test/MC/Lanai/lit.local.cfg
+++ b/llvm/test/MC/Lanai/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/LoongArch/lit.local.cfg b/llvm/test/MC/LoongArch/lit.local.cfg
index 2b5a4893e686..cc24278acbb4 100644
--- a/llvm/test/MC/LoongArch/lit.local.cfg
+++ b/llvm/test/MC/LoongArch/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'LoongArch' in config.root.targets:
+if not "LoongArch" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/M68k/lit.local.cfg b/llvm/test/MC/M68k/lit.local.cfg
index a0faa52ae52b..dd33fe312cdd 100644
--- a/llvm/test/MC/M68k/lit.local.cfg
+++ b/llvm/test/MC/M68k/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'M68k' in config.root.targets:
+if not "M68k" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/MSP430/lit.local.cfg b/llvm/test/MC/MSP430/lit.local.cfg
index 4ad9495c56fc..f19a7a9c6d0a 100644
--- a/llvm/test/MC/MSP430/lit.local.cfg
+++ b/llvm/test/MC/MSP430/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'MSP430' in config.root.targets:
+if not "MSP430" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/MachO/AArch64/lit.local.cfg b/llvm/test/MC/MachO/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/MC/MachO/AArch64/lit.local.cfg
+++ b/llvm/test/MC/MachO/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.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 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/MC/MachO/ARM/lit.local.cfg
+++ b/llvm/test/MC/MachO/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/MachO/lit.local.cfg b/llvm/test/MC/MachO/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/MC/MachO/lit.local.cfg
+++ b/llvm/test/MC/MachO/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Mips/lit.local.cfg b/llvm/test/MC/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/MC/Mips/lit.local.cfg
+++ b/llvm/test/MC/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/PowerPC/lit.local.cfg b/llvm/test/MC/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/MC/PowerPC/lit.local.cfg
+++ b/llvm/test/MC/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/RISCV/lit.local.cfg b/llvm/test/MC/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/MC/RISCV/lit.local.cfg
+++ b/llvm/test/MC/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Sparc/lit.local.cfg b/llvm/test/MC/Sparc/lit.local.cfg
index d86c9e6d943a..4f5128663c5a 100644
--- a/llvm/test/MC/Sparc/lit.local.cfg
+++ b/llvm/test/MC/Sparc/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/SystemZ/lit.local.cfg b/llvm/test/MC/SystemZ/lit.local.cfg
index 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/MC/SystemZ/lit.local.cfg
+++ b/llvm/test/MC/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/VE/lit.local.cfg b/llvm/test/MC/VE/lit.local.cfg
index b6366779272d..d52a71f497cb 100644
--- a/llvm/test/MC/VE/lit.local.cfg
+++ b/llvm/test/MC/VE/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'VE' in config.root.targets:
+if not "VE" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/WebAssembly/lit.local.cfg b/llvm/test/MC/WebAssembly/lit.local.cfg
index 0dd8c920ff1e..4d1c143708f7 100644
--- a/llvm/test/MC/WebAssembly/lit.local.cfg
+++ b/llvm/test/MC/WebAssembly/lit.local.cfg
@@ -1,2 +1,2 @@
-if 'WebAssembly' not in config.root.targets:
+if "WebAssembly" not in config.root.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 c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/MC/X86/AlignedBundling/lit.local.cfg
+++ b/llvm/test/MC/X86/AlignedBundling/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/X86/lit.local.cfg b/llvm/test/MC/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/MC/X86/lit.local.cfg
+++ b/llvm/test/MC/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/XCOFF/lit.local.cfg b/llvm/test/MC/XCOFF/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/MC/XCOFF/lit.local.cfg
+++ b/llvm/test/MC/XCOFF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/MC/Xtensa/lit.local.cfg b/llvm/test/MC/Xtensa/lit.local.cfg
index 9e0be9979305..e81bfa773f36 100644
--- a/llvm/test/MC/Xtensa/lit.local.cfg
+++ b/llvm/test/MC/Xtensa/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Xtensa' in config.root.targets:
+if not "Xtensa" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Object/AMDGPU/lit.local.cfg b/llvm/test/Object/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Object/AMDGPU/lit.local.cfg
+++ b/llvm/test/Object/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Object/ARM/lit.local.cfg b/llvm/test/Object/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Object/ARM/lit.local.cfg
+++ b/llvm/test/Object/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Object/BPF/lit.local.cfg b/llvm/test/Object/BPF/lit.local.cfg
index a4ab2624af61..0fe841da7d0e 100644
--- a/llvm/test/Object/BPF/lit.local.cfg
+++ b/llvm/test/Object/BPF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'BPF' in config.root.targets:
+if not "BPF" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Object/Lanai/lit.local.cfg b/llvm/test/Object/Lanai/lit.local.cfg
index f1b8b4f4e21f..2384de1dd78b 100644
--- a/llvm/test/Object/Lanai/lit.local.cfg
+++ b/llvm/test/Object/Lanai/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Object/Mips/lit.local.cfg b/llvm/test/Object/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/Object/Mips/lit.local.cfg
+++ b/llvm/test/Object/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Object/RISCV/lit.local.cfg b/llvm/test/Object/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/Object/RISCV/lit.local.cfg
+++ b/llvm/test/Object/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Object/X86/lit.local.cfg b/llvm/test/Object/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Object/X86/lit.local.cfg
+++ b/llvm/test/Object/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Other/ChangePrinters/DotCfg/lit.local.cfg b/llvm/test/Other/ChangePrinters/DotCfg/lit.local.cfg
index 73913bb97a72..2cdf3e71ead2 100644
--- a/llvm/test/Other/ChangePrinters/DotCfg/lit.local.cfg
+++ b/llvm/test/Other/ChangePrinters/DotCfg/lit.local.cfg
@@ -1,20 +1,22 @@
import os
import subprocess
+
def have_needed_dot_support():
- if not os.path.exists('/usr/bin/dot'):
- return False
+ if not os.path.exists("/usr/bin/dot"):
+ return False
+
+ try:
+ ld_cmd = subprocess.Popen(
+ ["/usr/bin/dot", "-T?"], stdout=subprocess.PIPE, stderr=subprocess.PIPE
+ )
+ ld_err = ld_cmd.stderr.read().decode()
+ ld_cmd.wait()
+ except:
+ return False
- try:
- ld_cmd = subprocess.Popen(['/usr/bin/dot', '-T?'],
- stdout=subprocess.PIPE,
- stderr=subprocess.PIPE)
- ld_err = ld_cmd.stderr.read().decode()
- ld_cmd.wait()
- except:
- return False
+ return "pdf" in ld_err
- return 'pdf' in ld_err
if not have_needed_dot_support():
- config.unsupported = True
+ config.unsupported = True
diff --git a/llvm/test/Other/ChangePrinters/lit.local.cfg b/llvm/test/Other/ChangePrinters/lit.local.cfg
index dc21ca5b8324..b0b9f3e385dc 100644
--- a/llvm/test/Other/ChangePrinters/lit.local.cfg
+++ b/llvm/test/Other/ChangePrinters/lit.local.cfg
@@ -1,17 +1,22 @@
import os
import subprocess
+
def have_needed_diff_support():
- if not os.path.exists('/usr/bin/diff'):
+ if not os.path.exists("/usr/bin/diff"):
return False
ld_cmd = subprocess.Popen(
- ['/usr/bin/diff', '--help'], stdout=subprocess.PIPE,
- stderr=subprocess.STDOUT, env={'LANG': 'C'})
+ ["/usr/bin/diff", "--help"],
+ stdout=subprocess.PIPE,
+ stderr=subprocess.STDOUT,
+ env={"LANG": "C"},
+ )
ld_out = ld_cmd.stdout.read().decode()
ld_cmd.wait()
- return '-line-format' in ld_out
+ return "-line-format" in ld_out
+
if not have_needed_diff_support():
- config.unsupported = True
+ config.unsupported = True
diff --git a/llvm/test/Other/ChangeTesters/lit.local.cfg b/llvm/test/Other/ChangeTesters/lit.local.cfg
index 9925c80a7dc5..7ddbf6fa59cc 100644
--- a/llvm/test/Other/ChangeTesters/lit.local.cfg
+++ b/llvm/test/Other/ChangeTesters/lit.local.cfg
@@ -1,2 +1,2 @@
-if not os.path.exists('/bin/cat'):
- config.unsupported = True
+if not os.path.exists("/bin/cat"):
+ config.unsupported = True
diff --git a/llvm/test/Other/X86/lit.local.cfg b/llvm/test/Other/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Other/X86/lit.local.cfg
+++ b/llvm/test/Other/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/TableGen/lit.local.cfg b/llvm/test/TableGen/lit.local.cfg
index 1dbd83e71d81..6d3ea5578453 100644
--- a/llvm/test/TableGen/lit.local.cfg
+++ b/llvm/test/TableGen/lit.local.cfg
@@ -1,2 +1,2 @@
-config.suffixes = ['.td']
-config.excludes = ['Common']
+config.suffixes = [".td"]
+config.excludes = ["Common"]
diff --git a/llvm/test/ThinLTO/X86/lit.local.cfg b/llvm/test/ThinLTO/X86/lit.local.cfg
index afde89be896d..42bf50dcc13c 100644
--- a/llvm/test/ThinLTO/X86/lit.local.cfg
+++ b/llvm/test/ThinLTO/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
- config.unsupported = True
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/AggressiveInstCombine/AArch64/lit.local.cfg b/llvm/test/Transforms/AggressiveInstCombine/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/AggressiveInstCombine/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/AggressiveInstCombine/ARM/lit.local.cfg b/llvm/test/Transforms/AggressiveInstCombine/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/AggressiveInstCombine/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/AggressiveInstCombine/X86/lit.local.cfg b/llvm/test/Transforms/AggressiveInstCombine/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/AggressiveInstCombine/X86/lit.local.cfg
+++ b/llvm/test/Transforms/AggressiveInstCombine/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/ArgumentPromotion/BPF/lit.local.cfg b/llvm/test/Transforms/ArgumentPromotion/BPF/lit.local.cfg
index a4ab2624af61..0fe841da7d0e 100644
--- a/llvm/test/Transforms/ArgumentPromotion/BPF/lit.local.cfg
+++ b/llvm/test/Transforms/ArgumentPromotion/BPF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'BPF' in config.root.targets:
+if not "BPF" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/ArgumentPromotion/X86/lit.local.cfg b/llvm/test/Transforms/ArgumentPromotion/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/ArgumentPromotion/X86/lit.local.cfg
+++ b/llvm/test/Transforms/ArgumentPromotion/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/AtomicExpand/AArch64/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/AtomicExpand/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/AtomicExpand/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/AtomicExpand/AMDGPU/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/AMDGPU/lit.local.cfg
index ec718bb85db9..7c492428aec7 100644
--- a/llvm/test/Transforms/AtomicExpand/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/AtomicExpand/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
- config.unsupported = True
+if not "AMDGPU" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/AtomicExpand/ARM/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/AtomicExpand/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/AtomicExpand/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/AtomicExpand/Hexagon/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/Hexagon/lit.local.cfg
index cc6a7edf05f3..3bed54b1a88d 100644
--- a/llvm/test/Transforms/AtomicExpand/Hexagon/lit.local.cfg
+++ b/llvm/test/Transforms/AtomicExpand/Hexagon/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/AtomicExpand/LoongArch/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/LoongArch/lit.local.cfg
index 31902e060f32..356cb69d78ad 100644
--- a/llvm/test/Transforms/AtomicExpand/LoongArch/lit.local.cfg
+++ b/llvm/test/Transforms/AtomicExpand/LoongArch/lit.local.cfg
@@ -1,5 +1,5 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
targets = set(config.root.targets_to_build.split())
-if not 'LoongArch' in targets:
+if not "LoongArch" in targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/AtomicExpand/Mips/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/Transforms/AtomicExpand/Mips/lit.local.cfg
+++ b/llvm/test/Transforms/AtomicExpand/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/AtomicExpand/RISCV/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/RISCV/lit.local.cfg
index 7aaeda5a5b37..1bb680f6ff71 100644
--- a/llvm/test/Transforms/AtomicExpand/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/AtomicExpand/RISCV/lit.local.cfg
@@ -1,5 +1,5 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
targets = set(config.root.targets_to_build.split())
-if not 'RISCV' in targets:
+if not "RISCV" in targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/AtomicExpand/SPARC/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/SPARC/lit.local.cfg
index 9a34b6578154..4f5128663c5a 100644
--- a/llvm/test/Transforms/AtomicExpand/SPARC/lit.local.cfg
+++ b/llvm/test/Transforms/AtomicExpand/SPARC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
- config.unsupported = True
+if not "Sparc" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/AtomicExpand/X86/lit.local.cfg b/llvm/test/Transforms/AtomicExpand/X86/lit.local.cfg
index afde89be896d..42bf50dcc13c 100644
--- a/llvm/test/Transforms/AtomicExpand/X86/lit.local.cfg
+++ b/llvm/test/Transforms/AtomicExpand/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
- config.unsupported = True
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/Attributor/ArgumentPromotion/X86/lit.local.cfg b/llvm/test/Transforms/Attributor/ArgumentPromotion/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/Attributor/ArgumentPromotion/X86/lit.local.cfg
+++ b/llvm/test/Transforms/Attributor/ArgumentPromotion/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/Attributor/lit.local.cfg b/llvm/test/Transforms/Attributor/lit.local.cfg
index c114693dd7ed..58ee923cb7ec 100644
--- a/llvm/test/Transforms/Attributor/lit.local.cfg
+++ b/llvm/test/Transforms/Attributor/lit.local.cfg
@@ -1,5 +1,5 @@
# -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79:
from lit.llvm.subst import ToolSubst
-fc = ToolSubst('FileCheck', unresolved='fatal')
-config.substitutions.insert(0, (fc.regex, 'FileCheck --allow-unused-prefixes'))
+fc = ToolSubst("FileCheck", unresolved="fatal")
+config.substitutions.insert(0, (fc.regex, "FileCheck --allow-unused-prefixes"))
diff --git a/llvm/test/Transforms/CodeExtractor/X86/lit.local.cfg b/llvm/test/Transforms/CodeExtractor/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/CodeExtractor/X86/lit.local.cfg
+++ b/llvm/test/Transforms/CodeExtractor/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/CodeGenPrepare/AMDGPU/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/CodeGenPrepare/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/CodeGenPrepare/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/CodeGenPrepare/ARM/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/CodeGenPrepare/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/CodeGenPrepare/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/CodeGenPrepare/Mips/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/Transforms/CodeGenPrepare/Mips/lit.local.cfg
+++ b/llvm/test/Transforms/CodeGenPrepare/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/CodeGenPrepare/NVPTX/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/Transforms/CodeGenPrepare/NVPTX/lit.local.cfg
+++ b/llvm/test/Transforms/CodeGenPrepare/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/CodeGenPrepare/PowerPC/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/CodeGenPrepare/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/CodeGenPrepare/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/CodeGenPrepare/RISCV/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/Transforms/CodeGenPrepare/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/CodeGenPrepare/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/CodeGenPrepare/SPARC/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/SPARC/lit.local.cfg
index d86c9e6d943a..4f5128663c5a 100644
--- a/llvm/test/Transforms/CodeGenPrepare/SPARC/lit.local.cfg
+++ b/llvm/test/Transforms/CodeGenPrepare/SPARC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg b/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg
+++ b/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg b/llvm/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/ConstantHoisting/ARM/lit.local.cfg b/llvm/test/Transforms/ConstantHoisting/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/ConstantHoisting/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/ConstantHoisting/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg b/llvm/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/ConstantHoisting/RISCV/lit.local.cfg b/llvm/test/Transforms/ConstantHoisting/RISCV/lit.local.cfg
index 4a2fc1519cd2..17351748513d 100644
--- a/llvm/test/Transforms/ConstantHoisting/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/ConstantHoisting/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
- config.unsupported = True \ No newline at end of file
+if not "RISCV" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/ConstantHoisting/X86/lit.local.cfg b/llvm/test/Transforms/ConstantHoisting/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/ConstantHoisting/X86/lit.local.cfg
+++ b/llvm/test/Transforms/ConstantHoisting/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/DivRemPairs/Mips/lit.local.cfg b/llvm/test/Transforms/DivRemPairs/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/Transforms/DivRemPairs/Mips/lit.local.cfg
+++ b/llvm/test/Transforms/DivRemPairs/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/DivRemPairs/PowerPC/lit.local.cfg b/llvm/test/Transforms/DivRemPairs/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/DivRemPairs/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/DivRemPairs/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/DivRemPairs/X86/lit.local.cfg b/llvm/test/Transforms/DivRemPairs/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/DivRemPairs/X86/lit.local.cfg
+++ b/llvm/test/Transforms/DivRemPairs/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/EarlyCSE/AArch64/lit.local.cfg b/llvm/test/Transforms/EarlyCSE/AArch64/lit.local.cfg
index 6642d2870680..f04a51124092 100644
--- a/llvm/test/Transforms/EarlyCSE/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/EarlyCSE/AArch64/lit.local.cfg
@@ -1,5 +1,5 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not "AArch64" in targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/EarlyCSE/AMDGPU/lit.local.cfg b/llvm/test/Transforms/EarlyCSE/AMDGPU/lit.local.cfg
index 4536d0896406..a3c44f656bbe 100644
--- a/llvm/test/Transforms/EarlyCSE/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/EarlyCSE/AMDGPU/lit.local.cfg
@@ -1,5 +1,5 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
targets = set(config.root.targets_to_build.split())
-if not 'AMDGPU' in targets:
+if not "AMDGPU" in targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/EarlyCSE/DirectX/lit.local.cfg b/llvm/test/Transforms/EarlyCSE/DirectX/lit.local.cfg
index b5b98994674d..a766b1ad247b 100644
--- a/llvm/test/Transforms/EarlyCSE/DirectX/lit.local.cfg
+++ b/llvm/test/Transforms/EarlyCSE/DirectX/lit.local.cfg
@@ -1,4 +1,4 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
-if not 'DirectX' in config.root.targets:
+if not "DirectX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/EarlyCSE/PowerPC/lit.local.cfg b/llvm/test/Transforms/EarlyCSE/PowerPC/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/EarlyCSE/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/EarlyCSE/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/EarlyCSE/X86/lit.local.cfg b/llvm/test/Transforms/EarlyCSE/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/EarlyCSE/X86/lit.local.cfg
+++ b/llvm/test/Transforms/EarlyCSE/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg b/llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg
index cec29af5bbe4..10d4a0e953ed 100644
--- a/llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg
@@ -1,3 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
-
diff --git a/llvm/test/Transforms/ExpandMemCmp/X86/lit.local.cfg b/llvm/test/Transforms/ExpandMemCmp/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/ExpandMemCmp/X86/lit.local.cfg
+++ b/llvm/test/Transforms/ExpandMemCmp/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/GlobalOpt/PowerPC/lit.local.cfg b/llvm/test/Transforms/GlobalOpt/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/GlobalOpt/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/GlobalOpt/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/HardwareLoops/ARM/lit.local.cfg b/llvm/test/Transforms/HardwareLoops/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/HardwareLoops/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/HardwareLoops/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/HotColdSplit/X86/lit.local.cfg b/llvm/test/Transforms/HotColdSplit/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/HotColdSplit/X86/lit.local.cfg
+++ b/llvm/test/Transforms/HotColdSplit/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/IndVarSimplify/AArch64/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/IndVarSimplify/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/IndVarSimplify/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/IndVarSimplify/AMDGPU/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/IndVarSimplify/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/IndVarSimplify/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/IndVarSimplify/NVPTX/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/Transforms/IndVarSimplify/NVPTX/lit.local.cfg
+++ b/llvm/test/Transforms/IndVarSimplify/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg b/llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg
+++ b/llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InferAddressSpaces/AMDGPU/lit.local.cfg b/llvm/test/Transforms/InferAddressSpaces/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/InferAddressSpaces/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/InferAddressSpaces/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InferAddressSpaces/NVPTX/lit.local.cfg b/llvm/test/Transforms/InferAddressSpaces/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/Transforms/InferAddressSpaces/NVPTX/lit.local.cfg
+++ b/llvm/test/Transforms/InferAddressSpaces/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/Inline/AArch64/lit.local.cfg b/llvm/test/Transforms/Inline/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/Inline/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/Inline/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/Inline/AMDGPU/lit.local.cfg b/llvm/test/Transforms/Inline/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/Inline/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/Inline/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/Inline/ARM/lit.local.cfg b/llvm/test/Transforms/Inline/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/Inline/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/Inline/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/Inline/ML/lit.local.cfg b/llvm/test/Transforms/Inline/ML/lit.local.cfg
index a0661d3a6d38..e8c7912650cb 100644
--- a/llvm/test/Transforms/Inline/ML/lit.local.cfg
+++ b/llvm/test/Transforms/Inline/ML/lit.local.cfg
@@ -1,3 +1,3 @@
import sys
-config.unsupported = sys.version_info.minor <= 8
+config.unsupported = sys.version_info.minor <= 8
diff --git a/llvm/test/Transforms/Inline/PowerPC/lit.local.cfg b/llvm/test/Transforms/Inline/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/Inline/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/Inline/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/Inline/WebAssembly/lit.local.cfg b/llvm/test/Transforms/Inline/WebAssembly/lit.local.cfg
index 743473517cd0..d5f39ab4dbc8 100644
--- a/llvm/test/Transforms/Inline/WebAssembly/lit.local.cfg
+++ b/llvm/test/Transforms/Inline/WebAssembly/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/Inline/X86/lit.local.cfg b/llvm/test/Transforms/Inline/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/Inline/X86/lit.local.cfg
+++ b/llvm/test/Transforms/Inline/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InstCombine/AArch64/lit.local.cfg b/llvm/test/Transforms/InstCombine/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/InstCombine/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/InstCombine/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InstCombine/AMDGPU/lit.local.cfg b/llvm/test/Transforms/InstCombine/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/InstCombine/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/InstCombine/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InstCombine/ARM/lit.local.cfg b/llvm/test/Transforms/InstCombine/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/InstCombine/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/InstCombine/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InstCombine/Hexagon/lit.local.cfg b/llvm/test/Transforms/InstCombine/Hexagon/lit.local.cfg
index cc6a7edf05f3..3bed54b1a88d 100644
--- a/llvm/test/Transforms/InstCombine/Hexagon/lit.local.cfg
+++ b/llvm/test/Transforms/InstCombine/Hexagon/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InstCombine/NVPTX/lit.local.cfg b/llvm/test/Transforms/InstCombine/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/Transforms/InstCombine/NVPTX/lit.local.cfg
+++ b/llvm/test/Transforms/InstCombine/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InstCombine/PowerPC/lit.local.cfg b/llvm/test/Transforms/InstCombine/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/InstCombine/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/InstCombine/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InstCombine/RISCV/lit.local.cfg b/llvm/test/Transforms/InstCombine/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/Transforms/InstCombine/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/InstCombine/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InstCombine/X86/lit.local.cfg b/llvm/test/Transforms/InstCombine/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/InstCombine/X86/lit.local.cfg
+++ b/llvm/test/Transforms/InstCombine/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InstSimplify/ConstProp/AArch64/lit.local.cfg b/llvm/test/Transforms/InstSimplify/ConstProp/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/InstSimplify/ConstProp/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/InstSimplify/ConstProp/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg b/llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg b/llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/InterleavedAccess/AArch64/lit.local.cfg b/llvm/test/Transforms/InterleavedAccess/AArch64/lit.local.cfg
index 304f2436ece1..10d4a0e953ed 100644
--- a/llvm/test/Transforms/InterleavedAccess/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/InterleavedAccess/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
- config.unsupported = True
+if not "AArch64" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/InterleavedAccess/ARM/lit.local.cfg b/llvm/test/Transforms/InterleavedAccess/ARM/lit.local.cfg
index 20e19aeb06f9..7c23e4f98013 100644
--- a/llvm/test/Transforms/InterleavedAccess/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/InterleavedAccess/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
- config.unsupported = True
+if not "ARM" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/InterleavedAccess/RISCV/lit.local.cfg b/llvm/test/Transforms/InterleavedAccess/RISCV/lit.local.cfg
index f54903a14088..17351748513d 100644
--- a/llvm/test/Transforms/InterleavedAccess/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/InterleavedAccess/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
- config.unsupported = True \ No newline at end of file
+if not "RISCV" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/InterleavedAccess/X86/lit.local.cfg b/llvm/test/Transforms/InterleavedAccess/X86/lit.local.cfg
index afde89be896d..42bf50dcc13c 100644
--- a/llvm/test/Transforms/InterleavedAccess/X86/lit.local.cfg
+++ b/llvm/test/Transforms/InterleavedAccess/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
- config.unsupported = True
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/LICM/AArch64/lit.local.cfg b/llvm/test/Transforms/LICM/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/LICM/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/LICM/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LICM/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LICM/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/LICM/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/LICM/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg b/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg
+++ b/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoadStoreVectorizer/X86/lit.local.cfg b/llvm/test/Transforms/LoadStoreVectorizer/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/LoadStoreVectorizer/X86/lit.local.cfg
+++ b/llvm/test/Transforms/LoadStoreVectorizer/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg b/llvm/test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg
index 675f48e199a0..3cc47fd9d766 100644
--- a/llvm/test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg
@@ -1,4 +1,4 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopDataPrefetch/LoongArch/lit.local.cfg b/llvm/test/Transforms/LoopDataPrefetch/LoongArch/lit.local.cfg
index 2b5a4893e686..cc24278acbb4 100644
--- a/llvm/test/Transforms/LoopDataPrefetch/LoongArch/lit.local.cfg
+++ b/llvm/test/Transforms/LoopDataPrefetch/LoongArch/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'LoongArch' in config.root.targets:
+if not "LoongArch" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg b/llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopIdiom/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LoopIdiom/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/LoopIdiom/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/LoopIdiom/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopIdiom/RISCV/lit.local.cfg b/llvm/test/Transforms/LoopIdiom/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/Transforms/LoopIdiom/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/LoopIdiom/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg b/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg
+++ b/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopRotate/RISCV/lit.local.cfg b/llvm/test/Transforms/LoopRotate/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/Transforms/LoopRotate/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/LoopRotate/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg
index 675f48e199a0..3cc47fd9d766 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg
@@ -1,4 +1,4 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopStrengthReduce/NVPTX/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/NVPTX/lit.local.cfg
+++ b/llvm/test/Transforms/LoopStrengthReduce/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopStrengthReduce/Power/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/Power/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/Power/lit.local.cfg
+++ b/llvm/test/Transforms/LoopStrengthReduce/Power/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopStrengthReduce/RISCV/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/LoopStrengthReduce/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.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 c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg
+++ b/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopUnroll/AArch64/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/LoopUnroll/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/LoopUnroll/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopUnroll/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/LoopUnroll/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/LoopUnroll/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopUnroll/ARM/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/LoopUnroll/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/LoopUnroll/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopUnroll/Hexagon/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/Hexagon/lit.local.cfg
index cc6a7edf05f3..3bed54b1a88d 100644
--- a/llvm/test/Transforms/LoopUnroll/Hexagon/lit.local.cfg
+++ b/llvm/test/Transforms/LoopUnroll/Hexagon/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopUnroll/RISCV/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/RISCV/lit.local.cfg
index 7aaeda5a5b37..1bb680f6ff71 100644
--- a/llvm/test/Transforms/LoopUnroll/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/LoopUnroll/RISCV/lit.local.cfg
@@ -1,5 +1,5 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
targets = set(config.root.targets_to_build.split())
-if not 'RISCV' in targets:
+if not "RISCV" in targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopUnroll/WebAssembly/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/WebAssembly/lit.local.cfg
index 743473517cd0..d5f39ab4dbc8 100644
--- a/llvm/test/Transforms/LoopUnroll/WebAssembly/lit.local.cfg
+++ b/llvm/test/Transforms/LoopUnroll/WebAssembly/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopUnroll/X86/lit.local.cfg b/llvm/test/Transforms/LoopUnroll/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/LoopUnroll/X86/lit.local.cfg
+++ b/llvm/test/Transforms/LoopUnroll/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopVectorize/AArch64/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/AArch64/lit.local.cfg
index 675f48e199a0..3cc47fd9d766 100644
--- a/llvm/test/Transforms/LoopVectorize/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/LoopVectorize/AArch64/lit.local.cfg
@@ -1,4 +1,4 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopVectorize/AMDGPU/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/LoopVectorize/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/LoopVectorize/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopVectorize/Hexagon/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/Hexagon/lit.local.cfg
index cc6a7edf05f3..3bed54b1a88d 100644
--- a/llvm/test/Transforms/LoopVectorize/Hexagon/lit.local.cfg
+++ b/llvm/test/Transforms/LoopVectorize/Hexagon/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopVectorize/RISCV/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/RISCV/lit.local.cfg
index d82490b75940..fb85f43211f5 100644
--- a/llvm/test/Transforms/LoopVectorize/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/LoopVectorize/RISCV/lit.local.cfg
@@ -1,4 +1,4 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopVectorize/SystemZ/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/SystemZ/lit.local.cfg
index 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/Transforms/LoopVectorize/SystemZ/lit.local.cfg
+++ b/llvm/test/Transforms/LoopVectorize/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopVectorize/VE/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/VE/lit.local.cfg
index 4449d2f31d56..c7f949e29fee 100644
--- a/llvm/test/Transforms/LoopVectorize/VE/lit.local.cfg
+++ b/llvm/test/Transforms/LoopVectorize/VE/lit.local.cfg
@@ -1,4 +1,4 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
-if not 'VE' in config.root.targets:
+if not "VE" in config.root.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 c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg
+++ b/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/LoopVectorize/XCore/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/XCore/lit.local.cfg
index bb48713fe33e..26c8076e1ef7 100644
--- a/llvm/test/Transforms/LoopVectorize/XCore/lit.local.cfg
+++ b/llvm/test/Transforms/LoopVectorize/XCore/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'XCore' in config.root.targets:
+if not "XCore" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/MergeICmps/X86/lit.local.cfg b/llvm/test/Transforms/MergeICmps/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/MergeICmps/X86/lit.local.cfg
+++ b/llvm/test/Transforms/MergeICmps/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/NaryReassociate/NVPTX/lit.local.cfg b/llvm/test/Transforms/NaryReassociate/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/Transforms/NaryReassociate/NVPTX/lit.local.cfg
+++ b/llvm/test/Transforms/NaryReassociate/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg b/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg
+++ b/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/PartiallyInlineLibCalls/X86/lit.local.cfg b/llvm/test/Transforms/PartiallyInlineLibCalls/X86/lit.local.cfg
index afde89be896d..42bf50dcc13c 100644
--- a/llvm/test/Transforms/PartiallyInlineLibCalls/X86/lit.local.cfg
+++ b/llvm/test/Transforms/PartiallyInlineLibCalls/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
- config.unsupported = True
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/PhaseOrdering/AArch64/lit.local.cfg b/llvm/test/Transforms/PhaseOrdering/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/PhaseOrdering/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/PhaseOrdering/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/PhaseOrdering/ARM/lit.local.cfg b/llvm/test/Transforms/PhaseOrdering/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/PhaseOrdering/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/PhaseOrdering/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/PhaseOrdering/SystemZ/lit.local.cfg b/llvm/test/Transforms/PhaseOrdering/SystemZ/lit.local.cfg
index 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/Transforms/PhaseOrdering/SystemZ/lit.local.cfg
+++ b/llvm/test/Transforms/PhaseOrdering/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg b/llvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg
+++ b/llvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/RewriteStatepointsForGC/X86/lit.local.cfg b/llvm/test/Transforms/RewriteStatepointsForGC/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/RewriteStatepointsForGC/X86/lit.local.cfg
+++ b/llvm/test/Transforms/RewriteStatepointsForGC/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/AMDGPU/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/SLPVectorizer/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/SLPVectorizer/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/NVPTX/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/Transforms/SLPVectorizer/NVPTX/lit.local.cfg
+++ b/llvm/test/Transforms/SLPVectorizer/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/PowerPC/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/SLPVectorizer/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/SLPVectorizer/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/RISCV/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/Transforms/SLPVectorizer/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/SLPVectorizer/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/SystemZ/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/SystemZ/lit.local.cfg
index 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/Transforms/SLPVectorizer/SystemZ/lit.local.cfg
+++ b/llvm/test/Transforms/SLPVectorizer/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/VE/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/VE/lit.local.cfg
index 4449d2f31d56..c7f949e29fee 100644
--- a/llvm/test/Transforms/SLPVectorizer/VE/lit.local.cfg
+++ b/llvm/test/Transforms/SLPVectorizer/VE/lit.local.cfg
@@ -1,4 +1,4 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
-if not 'VE' in config.root.targets:
+if not "VE" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/WebAssembly/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/WebAssembly/lit.local.cfg
index 743473517cd0..d5f39ab4dbc8 100644
--- a/llvm/test/Transforms/SLPVectorizer/WebAssembly/lit.local.cfg
+++ b/llvm/test/Transforms/SLPVectorizer/WebAssembly/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg
+++ b/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SLPVectorizer/XCore/lit.local.cfg b/llvm/test/Transforms/SLPVectorizer/XCore/lit.local.cfg
index bb48713fe33e..26c8076e1ef7 100644
--- a/llvm/test/Transforms/SLPVectorizer/XCore/lit.local.cfg
+++ b/llvm/test/Transforms/SLPVectorizer/XCore/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'XCore' in config.root.targets:
+if not "XCore" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SafeStack/AArch64/lit.local.cfg b/llvm/test/Transforms/SafeStack/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/SafeStack/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/SafeStack/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SafeStack/ARM/lit.local.cfg b/llvm/test/Transforms/SafeStack/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/SafeStack/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/SafeStack/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SafeStack/X86/lit.local.cfg b/llvm/test/Transforms/SafeStack/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/SafeStack/X86/lit.local.cfg
+++ b/llvm/test/Transforms/SafeStack/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SeparateConstOffsetFromGEP/AArch64/lit.local.cfg b/llvm/test/Transforms/SeparateConstOffsetFromGEP/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/SeparateConstOffsetFromGEP/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/SeparateConstOffsetFromGEP/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lit.local.cfg b/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg b/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg
+++ b/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/lit.local.cfg b/llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SimpleLoopUnswitch/ARM/lit.local.cfg b/llvm/test/Transforms/SimpleLoopUnswitch/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/SimpleLoopUnswitch/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/SimpleLoopUnswitch/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SimplifyCFG/AArch64/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/AArch64/lit.local.cfg
index 6642d2870680..f04a51124092 100644
--- a/llvm/test/Transforms/SimplifyCFG/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/SimplifyCFG/AArch64/lit.local.cfg
@@ -1,5 +1,5 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not "AArch64" in targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SimplifyCFG/AMDGPU/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/SimplifyCFG/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/SimplifyCFG/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SimplifyCFG/ARM/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/ARM/lit.local.cfg
index 5a3b8565213d..57e774ec954b 100644
--- a/llvm/test/Transforms/SimplifyCFG/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/SimplifyCFG/ARM/lit.local.cfg
@@ -1,5 +1,5 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not "ARM" in targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SimplifyCFG/Hexagon/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/Hexagon/lit.local.cfg
index a1f0ecbf6792..3e3a537cfcaf 100644
--- a/llvm/test/Transforms/SimplifyCFG/Hexagon/lit.local.cfg
+++ b/llvm/test/Transforms/SimplifyCFG/Hexagon/lit.local.cfg
@@ -1,5 +1,5 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
targets = set(config.root.targets_to_build.split())
-if not 'Hexagon' in targets:
+if not "Hexagon" in targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SimplifyCFG/Mips/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/Mips/lit.local.cfg
index 683bfdccb742..3113ca52e6f4 100644
--- a/llvm/test/Transforms/SimplifyCFG/Mips/lit.local.cfg
+++ b/llvm/test/Transforms/SimplifyCFG/Mips/lit.local.cfg
@@ -1,5 +1,5 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
targets = set(config.root.targets_to_build.split())
-if not 'Mips' in targets:
+if not "Mips" in targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SimplifyCFG/PowerPC/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/PowerPC/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/Transforms/SimplifyCFG/PowerPC/lit.local.cfg
+++ b/llvm/test/Transforms/SimplifyCFG/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SimplifyCFG/RISCV/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/RISCV/lit.local.cfg
index 7aaeda5a5b37..1bb680f6ff71 100644
--- a/llvm/test/Transforms/SimplifyCFG/RISCV/lit.local.cfg
+++ b/llvm/test/Transforms/SimplifyCFG/RISCV/lit.local.cfg
@@ -1,5 +1,5 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
targets = set(config.root.targets_to_build.split())
-if not 'RISCV' in targets:
+if not "RISCV" in targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg b/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg
index d86c9e6d943a..4f5128663c5a 100644
--- a/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg
+++ b/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.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 c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg
+++ b/llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/lit.local.cfg b/llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/lit.local.cfg b/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/lit.local.cfg
index 2cb98eb371b2..0d37b86e1c8e 100644
--- a/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/lit.local.cfg
+++ b/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg b/llvm/test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg
+++ b/llvm/test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/StructurizeCFG/AMDGPU/lit.local.cfg b/llvm/test/Transforms/StructurizeCFG/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/StructurizeCFG/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/StructurizeCFG/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg b/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg
index 516aae89326b..42bf50dcc13c 100644
--- a/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg
+++ b/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
- config.unsupported = True
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/Transforms/TypePromotion/AArch64/lit.local.cfg b/llvm/test/Transforms/TypePromotion/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/TypePromotion/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/TypePromotion/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/TypePromotion/ARM/lit.local.cfg b/llvm/test/Transforms/TypePromotion/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Transforms/TypePromotion/ARM/lit.local.cfg
+++ b/llvm/test/Transforms/TypePromotion/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/VectorCombine/AArch64/lit.local.cfg b/llvm/test/Transforms/VectorCombine/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/Transforms/VectorCombine/AArch64/lit.local.cfg
+++ b/llvm/test/Transforms/VectorCombine/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/VectorCombine/AMDGPU/lit.local.cfg b/llvm/test/Transforms/VectorCombine/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Transforms/VectorCombine/AMDGPU/lit.local.cfg
+++ b/llvm/test/Transforms/VectorCombine/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/VectorCombine/Hexagon/lit.local.cfg b/llvm/test/Transforms/VectorCombine/Hexagon/lit.local.cfg
index cc6a7edf05f3..3bed54b1a88d 100644
--- a/llvm/test/Transforms/VectorCombine/Hexagon/lit.local.cfg
+++ b/llvm/test/Transforms/VectorCombine/Hexagon/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Transforms/VectorCombine/X86/lit.local.cfg b/llvm/test/Transforms/VectorCombine/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/Transforms/VectorCombine/X86/lit.local.cfg
+++ b/llvm/test/Transforms/VectorCombine/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Verifier/AMDGPU/lit.local.cfg b/llvm/test/Verifier/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/Verifier/AMDGPU/lit.local.cfg
+++ b/llvm/test/Verifier/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Verifier/ARM/lit.local.cfg b/llvm/test/Verifier/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/Verifier/ARM/lit.local.cfg
+++ b/llvm/test/Verifier/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Verifier/LoongArch/lit.local.cfg b/llvm/test/Verifier/LoongArch/lit.local.cfg
index 2b5a4893e686..cc24278acbb4 100644
--- a/llvm/test/Verifier/LoongArch/lit.local.cfg
+++ b/llvm/test/Verifier/LoongArch/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'LoongArch' in config.root.targets:
+if not "LoongArch" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Verifier/Mips/lit.local.cfg b/llvm/test/Verifier/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/Verifier/Mips/lit.local.cfg
+++ b/llvm/test/Verifier/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/Verifier/SystemZ/lit.local.cfg b/llvm/test/Verifier/SystemZ/lit.local.cfg
index 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/Verifier/SystemZ/lit.local.cfg
+++ b/llvm/test/Verifier/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/UpdateTestChecks/lit.local.cfg b/llvm/test/tools/UpdateTestChecks/lit.local.cfg
index cdaf1b3464d2..f8ab6b82cde7 100644
--- a/llvm/test/tools/UpdateTestChecks/lit.local.cfg
+++ b/llvm/test/tools/UpdateTestChecks/lit.local.cfg
@@ -10,39 +10,40 @@ except ImportError:
from pipes import quote as shell_quote
-def add_update_script_substition(name, python_exe=config.python_executable,
- extra_args=''):
- assert name.startswith('%')
- script_path = os.path.join(config.llvm_src_root, 'utils', name[1:] + '.py')
+def add_update_script_substition(
+ name, python_exe=config.python_executable, extra_args=""
+):
+ assert name.startswith("%")
+ script_path = os.path.join(config.llvm_src_root, "utils", name[1:] + ".py")
assert os.path.isfile(script_path)
# Specify an explicit default version in UTC tests, so that the --version
# embedded in UTC_ARGS does not change in all test expectations every time
# the default is bumped.
- extra_args += ' --version=1'
+ extra_args += " --version=1"
config.substitutions.append(
- (name, "'%s' %s %s" % (python_exe, script_path, extra_args)))
+ (name, "'%s' %s %s" % (python_exe, script_path, extra_args))
+ )
config.test_format = lit.formats.ShTest(execute_external=False)
-config.suffixes = ['.test']
+config.suffixes = [".test"]
-llc_path = os.path.join(config.llvm_tools_dir, 'llc')
+llc_path = os.path.join(config.llvm_tools_dir, "llc")
if os.path.isfile(llc_path):
- config.available_features.add('llc-binary')
- llc_arg = '--llc-binary ' + shell_quote(llc_path)
- add_update_script_substition('%update_llc_test_checks', extra_args=llc_arg)
- add_update_script_substition('%update_mir_test_checks', extra_args=llc_arg)
+ config.available_features.add("llc-binary")
+ llc_arg = "--llc-binary " + shell_quote(llc_path)
+ add_update_script_substition("%update_llc_test_checks", extra_args=llc_arg)
+ add_update_script_substition("%update_mir_test_checks", extra_args=llc_arg)
-opt_path = os.path.join(config.llvm_tools_dir, 'opt')
+opt_path = os.path.join(config.llvm_tools_dir, "opt")
if os.path.isfile(opt_path):
- config.available_features.add('opt-binary')
- opt_arg = '--opt-binary ' + shell_quote(opt_path)
- add_update_script_substition('%update_test_checks', extra_args=opt_arg)
- add_update_script_substition('%update_analyze_test_checks',
- extra_args=opt_arg)
+ config.available_features.add("opt-binary")
+ opt_arg = "--opt-binary " + shell_quote(opt_path)
+ add_update_script_substition("%update_test_checks", extra_args=opt_arg)
+ add_update_script_substition("%update_analyze_test_checks", extra_args=opt_arg)
-llvm_mca_path = os.path.join(config.llvm_tools_dir, 'llvm-mca')
+llvm_mca_path = os.path.join(config.llvm_tools_dir, "llvm-mca")
if os.path.isfile(llvm_mca_path):
- config.available_features.add('llvm-mca-binary')
- mca_arg = '--llvm-mca-binary ' + shell_quote(llvm_mca_path)
- add_update_script_substition('%update_test_checks', extra_args=mca_arg)
+ config.available_features.add("llvm-mca-binary")
+ mca_arg = "--llvm-mca-binary " + shell_quote(llvm_mca_path)
+ add_update_script_substition("%update_test_checks", extra_args=mca_arg)
diff --git a/llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/lit.local.cfg b/llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/lit.local.cfg
index 50d9aa9c1718..13223e9b4f75 100644
--- a/llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/lit.local.cfg
+++ b/llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/lit.local.cfg
@@ -1,3 +1,3 @@
# These tests require opt.
-if 'opt-binary' not in config.available_features:
+if "opt-binary" not in config.available_features:
config.unsupported = True
diff --git a/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lit.local.cfg b/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lit.local.cfg
index 60eb2b6ae521..66bc43ef968e 100644
--- a/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lit.local.cfg
+++ b/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lit.local.cfg
@@ -1,3 +1,3 @@
# These tests require llc.
-if 'llc-binary' not in config.available_features:
+if "llc-binary" not in config.available_features:
config.unsupported = True
diff --git a/llvm/test/tools/UpdateTestChecks/update_mir_test_checks/lit.local.cfg b/llvm/test/tools/UpdateTestChecks/update_mir_test_checks/lit.local.cfg
index 60eb2b6ae521..66bc43ef968e 100644
--- a/llvm/test/tools/UpdateTestChecks/update_mir_test_checks/lit.local.cfg
+++ b/llvm/test/tools/UpdateTestChecks/update_mir_test_checks/lit.local.cfg
@@ -1,3 +1,3 @@
# These tests require llc.
-if 'llc-binary' not in config.available_features:
+if "llc-binary" not in config.available_features:
config.unsupported = True
diff --git a/llvm/test/tools/UpdateTestChecks/update_test_checks/lit.local.cfg b/llvm/test/tools/UpdateTestChecks/update_test_checks/lit.local.cfg
index f6860f438a40..75a032d5c14d 100644
--- a/llvm/test/tools/UpdateTestChecks/update_test_checks/lit.local.cfg
+++ b/llvm/test/tools/UpdateTestChecks/update_test_checks/lit.local.cfg
@@ -1,3 +1,3 @@
# These tests require llc.
-if 'opt-binary' not in config.available_features:
+if "opt-binary" not in config.available_features:
config.unsupported = True
diff --git a/llvm/test/tools/dsymutil/ARM/lit.local.cfg b/llvm/test/tools/dsymutil/ARM/lit.local.cfg
index aa8303bc7c91..d951f4ff14d4 100644
--- a/llvm/test/tools/dsymutil/ARM/lit.local.cfg
+++ b/llvm/test/tools/dsymutil/ARM/lit.local.cfg
@@ -1,10 +1,12 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
if config.llvm_use_sanitizer:
- suppr = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'suppressions.txt')
- config.environment['LSAN_OPTIONS'] = 'suppressions={}'.format(suppr)
+ suppr = os.path.join(
+ os.path.dirname(os.path.realpath(__file__)), "suppressions.txt"
+ )
+ config.environment["LSAN_OPTIONS"] = "suppressions={}".format(suppr)
-config.suffixes = ['.test', '.cpp', '.c']
+config.suffixes = [".test", ".cpp", ".c"]
diff --git a/llvm/test/tools/dsymutil/X86/lit.local.cfg b/llvm/test/tools/dsymutil/X86/lit.local.cfg
index 74244134270f..96ccdeb5793b 100644
--- a/llvm/test/tools/dsymutil/X86/lit.local.cfg
+++ b/llvm/test/tools/dsymutil/X86/lit.local.cfg
@@ -1,10 +1,12 @@
import os
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
if config.llvm_use_sanitizer:
- suppr = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'suppressions.txt')
- config.environment['LSAN_OPTIONS'] = 'suppressions={}'.format(suppr)
+ suppr = os.path.join(
+ os.path.dirname(os.path.realpath(__file__)), "suppressions.txt"
+ )
+ config.environment["LSAN_OPTIONS"] = "suppressions={}".format(suppr)
-config.suffixes = ['.test', '.cpp', '.m', '.s']
+config.suffixes = [".test", ".cpp", ".m", ".s"]
diff --git a/llvm/test/tools/dxil-dis/lit.local.cfg b/llvm/test/tools/dxil-dis/lit.local.cfg
index e31f8f3cb6ec..7b6819e0b406 100644
--- a/llvm/test/tools/dxil-dis/lit.local.cfg
+++ b/llvm/test/tools/dxil-dis/lit.local.cfg
@@ -1,3 +1,3 @@
if not config.dxil_tests:
- config.unsupported = True
-config.suffixes = ['.ll']
+ config.unsupported = True
+config.suffixes = [".ll"]
diff --git a/llvm/test/tools/gold/PowerPC/lit.local.cfg b/llvm/test/tools/gold/PowerPC/lit.local.cfg
index d968938d24ce..f4de86073655 100644
--- a/llvm/test/tools/gold/PowerPC/lit.local.cfg
+++ b/llvm/test/tools/gold/PowerPC/lit.local.cfg
@@ -1,3 +1,2 @@
-if (not 'ld_plugin' in config.available_features or
- not 'PowerPC' in config.root.targets):
- config.unsupported = True
+if not "ld_plugin" in config.available_features or not "PowerPC" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/tools/gold/X86/lit.local.cfg b/llvm/test/tools/gold/X86/lit.local.cfg
index ddcd48ca470d..fb38bbb12d34 100644
--- a/llvm/test/tools/gold/X86/lit.local.cfg
+++ b/llvm/test/tools/gold/X86/lit.local.cfg
@@ -1,3 +1,2 @@
-if (not 'ld_plugin' in config.available_features or
- not 'X86' in config.root.targets):
- config.unsupported = True
+if not "ld_plugin" in config.available_features or not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/tools/gold/X86/v1.12/lit.local.cfg b/llvm/test/tools/gold/X86/v1.12/lit.local.cfg
index 7f1b6137cc0b..a85cce5931fd 100644
--- a/llvm/test/tools/gold/X86/v1.12/lit.local.cfg
+++ b/llvm/test/tools/gold/X86/v1.12/lit.local.cfg
@@ -1,28 +1,32 @@
import re
import subprocess
+
def is_gold_v1_12_linker_available():
- if not config.gold_executable:
- return False
- try:
- ld_cmd = subprocess.Popen([config.gold_executable, '-v'],
- stdout = subprocess.PIPE,
- stderr = subprocess.PIPE)
- ld_out, _ = ld_cmd.communicate()
- ld_out = ld_out.decode()
- except:
- return False
+ if not config.gold_executable:
+ return False
+ try:
+ ld_cmd = subprocess.Popen(
+ [config.gold_executable, "-v"],
+ stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE,
+ )
+ ld_out, _ = ld_cmd.communicate()
+ ld_out = ld_out.decode()
+ except:
+ return False
+
+ match = re.search(r"GNU gold \(.*\) (\d+)\.(\d+)", ld_out)
+ if not match:
+ return False
+ major = int(match.group(1))
+ minor = int(match.group(2))
+ if major < 1 or (major == 1 and minor < 12):
+ return False
- match = re.search(r'GNU gold \(.*\) (\d+)\.(\d+)', ld_out)
- if not match:
- return False
- major = int(match.group(1))
- minor = int(match.group(2))
- if major < 1 or (major == 1 and minor < 12):
- return False
+ return True
- return True
if not is_gold_v1_12_linker_available():
- config.unsupported = True
+ config.unsupported = True
diff --git a/llvm/test/tools/gold/X86/v1.16/lit.local.cfg b/llvm/test/tools/gold/X86/v1.16/lit.local.cfg
index 9dbf14be0b67..2b9376e68cf6 100644
--- a/llvm/test/tools/gold/X86/v1.16/lit.local.cfg
+++ b/llvm/test/tools/gold/X86/v1.16/lit.local.cfg
@@ -1,28 +1,32 @@
import re
import subprocess
+
def is_gold_v1_16_linker_available():
- if not config.gold_executable:
- return False
- try:
- ld_cmd = subprocess.Popen([config.gold_executable, '-v'],
- stdout = subprocess.PIPE,
- stderr = subprocess.PIPE)
- ld_out, _ = ld_cmd.communicate()
- ld_out = ld_out.decode()
- except:
- return False
+ if not config.gold_executable:
+ return False
+ try:
+ ld_cmd = subprocess.Popen(
+ [config.gold_executable, "-v"],
+ stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE,
+ )
+ ld_out, _ = ld_cmd.communicate()
+ ld_out = ld_out.decode()
+ except:
+ return False
+
+ match = re.search(r"GNU gold \(.*\) (\d+)\.(\d+)", ld_out)
+ if not match:
+ return False
+ major = int(match.group(1))
+ minor = int(match.group(2))
+ if major < 1 or (major == 1 and minor < 16):
+ return False
- match = re.search(r'GNU gold \(.*\) (\d+)\.(\d+)', ld_out)
- if not match:
- return False
- major = int(match.group(1))
- minor = int(match.group(2))
- if major < 1 or (major == 1 and minor < 16):
- return False
+ return True
- return True
if not is_gold_v1_16_linker_available():
- config.unsupported = True
+ config.unsupported = True
diff --git a/llvm/test/tools/gold/lit.local.cfg b/llvm/test/tools/gold/lit.local.cfg
index 6d2835ac8be6..aa07261d10d3 100644
--- a/llvm/test/tools/gold/lit.local.cfg
+++ b/llvm/test/tools/gold/lit.local.cfg
@@ -1,7 +1,7 @@
-if (not 'ld_plugin' in config.available_features):
- config.unsupported = True
+if not "ld_plugin" in config.available_features:
+ config.unsupported = True
# gold can't load instrumented plugin.
-for san in ['asan', 'msan', 'ubsan']:
- if (san in config.available_features):
- config.unsupported = True
+for san in ["asan", "msan", "ubsan"]:
+ if san in config.available_features:
+ config.unsupported = True
diff --git a/llvm/test/tools/llvm-as/lit.local.cfg b/llvm/test/tools/llvm-as/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-as/lit.local.cfg
+++ b/llvm/test/tools/llvm-as/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-cfi-verify/AArch64/lit.local.cfg b/llvm/test/tools/llvm-cfi-verify/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/tools/llvm-cfi-verify/AArch64/lit.local.cfg
+++ b/llvm/test/tools/llvm-cfi-verify/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg b/llvm/test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg
+++ b/llvm/test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-cfi-verify/X86/lit.local.cfg b/llvm/test/tools/llvm-cfi-verify/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-cfi-verify/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-cfi-verify/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-cov/lit.local.cfg b/llvm/test/tools/llvm-cov/lit.local.cfg
index 8b6fe62772f3..4ca2e070c359 100644
--- a/llvm/test/tools/llvm-cov/lit.local.cfg
+++ b/llvm/test/tools/llvm-cov/lit.local.cfg
@@ -1 +1 @@
-config.suffixes = ['.test', '.m', '.cpp', '.c', '.h']
+config.suffixes = [".test", ".m", ".cpp", ".c", ".h"]
diff --git a/llvm/test/tools/llvm-cxxdump/X86/lit.local.cfg b/llvm/test/tools/llvm-cxxdump/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-cxxdump/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-cxxdump/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-dlltool/lit.local.cfg b/llvm/test/tools/llvm-dlltool/lit.local.cfg
index 0fe6ca6f1e87..ac138536e468 100644
--- a/llvm/test/tools/llvm-dlltool/lit.local.cfg
+++ b/llvm/test/tools/llvm-dlltool/lit.local.cfg
@@ -1 +1 @@
-config.suffixes.add('.def')
+config.suffixes.add(".def")
diff --git a/llvm/test/tools/llvm-driver/lit.local.cfg b/llvm/test/tools/llvm-driver/lit.local.cfg
index 940e46217621..21771693b720 100644
--- a/llvm/test/tools/llvm-driver/lit.local.cfg
+++ b/llvm/test/tools/llvm-driver/lit.local.cfg
@@ -1,4 +1,4 @@
from lit.llvm import llvm_config
if llvm_config.use_lld(required=False):
- config.available_features.add('lld')
+ config.available_features.add("lld")
diff --git a/llvm/test/tools/llvm-dwarfdump/AArch64/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/tools/llvm-dwarfdump/AArch64/lit.local.cfg
+++ b/llvm/test/tools/llvm-dwarfdump/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-dwarfdump/AMDGPU/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/tools/llvm-dwarfdump/AMDGPU/lit.local.cfg
+++ b/llvm/test/tools/llvm-dwarfdump/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-dwarfdump/ARM/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/tools/llvm-dwarfdump/ARM/lit.local.cfg
+++ b/llvm/test/tools/llvm-dwarfdump/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-dwarfdump/RISCV/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/tools/llvm-dwarfdump/RISCV/lit.local.cfg
+++ b/llvm/test/tools/llvm-dwarfdump/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-dwarfdump/X86/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-dwarfdump/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-dwarfdump/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-dwarfdump/XCOFF/lit.local.cfg b/llvm/test/tools/llvm-dwarfdump/XCOFF/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/tools/llvm-dwarfdump/XCOFF/lit.local.cfg
+++ b/llvm/test/tools/llvm-dwarfdump/XCOFF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-dwarfutil/ELF/X86/lit.local.cfg b/llvm/test/tools/llvm-dwarfutil/ELF/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-dwarfutil/ELF/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-dwarfutil/ELF/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-dwp/WebAssembly/lit.local.cfg b/llvm/test/tools/llvm-dwp/WebAssembly/lit.local.cfg
index 5ea762c84049..0f1b1ccd1fc2 100644
--- a/llvm/test/tools/llvm-dwp/WebAssembly/lit.local.cfg
+++ b/llvm/test/tools/llvm-dwp/WebAssembly/lit.local.cfg
@@ -1,4 +1,4 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
config.unsupported = True
-config.suffixes = ['.s']
+config.suffixes = [".s"]
diff --git a/llvm/test/tools/llvm-dwp/X86/lit.local.cfg b/llvm/test/tools/llvm-dwp/X86/lit.local.cfg
index 05f8b38b3346..38cc3fec1999 100644
--- a/llvm/test/tools/llvm-dwp/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-dwp/X86/lit.local.cfg
@@ -1,4 +1,4 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
-config.suffixes = ['.test', '.cpp', '.m', '.s']
+config.suffixes = [".test", ".cpp", ".m", ".s"]
diff --git a/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg b/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg
index c1c887bfcc47..55b3963f6031 100644
--- a/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg
+++ b/llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg
@@ -1,6 +1,6 @@
-if not ('AArch64' in config.root.targets):
+if not ("AArch64" in config.root.targets):
# We need support for AArch64.
config.unsupported = True
-elif not ('aarch64' in config.root.host_triple):
+elif not ("aarch64" in config.root.host_triple):
# We need to be running on an PPC host.
config.unsupported = True
diff --git a/llvm/test/tools/llvm-exegesis/Mips/lit.local.cfg b/llvm/test/tools/llvm-exegesis/Mips/lit.local.cfg
index 9e3b40229e9a..220d3065b7da 100644
--- a/llvm/test/tools/llvm-exegesis/Mips/lit.local.cfg
+++ b/llvm/test/tools/llvm-exegesis/Mips/lit.local.cfg
@@ -1,3 +1,3 @@
-if not ('Mips' in config.root.targets):
+if not ("Mips" in config.root.targets):
# We need support for Mips.
config.unsupported = True
diff --git a/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg b/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg
index 2fb4364f3721..a33b69e3523a 100644
--- a/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg
+++ b/llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg
@@ -1,6 +1,6 @@
-if not ('PowerPC' in config.root.targets):
+if not ("PowerPC" in config.root.targets):
# We need support for PowerPC.
config.unsupported = True
-elif not ('powerpc' in config.root.host_triple):
+elif not ("powerpc" in config.root.host_triple):
# We need to be running on an PPC host.
config.unsupported = True
diff --git a/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg b/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
index 7d6abe880705..23890497d837 100644
--- a/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
@@ -1,6 +1,6 @@
-if not ('X86' in config.root.targets):
+if not ("X86" in config.root.targets):
# We need support for X86.
config.unsupported = True
-elif not ('x86_64' in config.root.host_triple):
+elif not ("x86_64" in config.root.host_triple):
# We need to be running on an X86 host.
config.unsupported = True
diff --git a/llvm/test/tools/llvm-exegesis/lit.local.cfg b/llvm/test/tools/llvm-exegesis/lit.local.cfg
index 22b01609cf2a..30ed138ba797 100644
--- a/llvm/test/tools/llvm-exegesis/lit.local.cfg
+++ b/llvm/test/tools/llvm-exegesis/lit.local.cfg
@@ -5,7 +5,7 @@ import lit.util
def can_execute_generated_snippets(arch):
is_host_arch = arch in config.root.host_triple
# 'native' feature is defined as "host arch == default triple arch"
- is_native_codegen = 'native' in config.available_features
+ is_native_codegen = "native" in config.available_features
return is_host_arch and is_native_codegen
@@ -13,31 +13,36 @@ def can_use_perf_counters(mode, extra_options=[]):
# We need libpfm to be installed and allow reading perf counters. We can
# only know that at runtime, so we try to measure an empty code snippet
# and bail out on error.
- llvm_exegesis_exe = lit.util.which('llvm-exegesis', config.llvm_tools_dir)
+ llvm_exegesis_exe = lit.util.which("llvm-exegesis", config.llvm_tools_dir)
if llvm_exegesis_exe is None:
- print('could not find llvm-exegesis')
- return False
+ print("could not find llvm-exegesis")
+ return False
try:
return_code = subprocess.call(
- [llvm_exegesis_exe, '-mode', mode, '-snippets-file', '/dev/null'] + extra_options,
- stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
+ [llvm_exegesis_exe, "-mode", mode, "-snippets-file", "/dev/null"]
+ + extra_options,
+ stdout=subprocess.DEVNULL,
+ stderr=subprocess.DEVNULL,
+ )
return return_code == 0
except OSError:
- print('could not exec llvm-exegesis')
+ print("could not exec llvm-exegesis")
return False
-for arch in ['aarch64', 'mips', 'powerpc', 'x86_64']:
+for arch in ["aarch64", "mips", "powerpc", "x86_64"]:
if can_execute_generated_snippets(arch):
- config.available_features.add('exegesis-can-execute-%s' % arch)
+ config.available_features.add("exegesis-can-execute-%s" % arch)
-if can_use_perf_counters('latency'):
- config.available_features.add('exegesis-can-measure-latency')
+if can_use_perf_counters("latency"):
+ config.available_features.add("exegesis-can-measure-latency")
-if can_use_perf_counters('uops'):
- config.available_features.add('exegesis-can-measure-uops')
+if can_use_perf_counters("uops"):
+ config.available_features.add("exegesis-can-measure-uops")
-if can_execute_generated_snippets('x86_64'):
+if can_execute_generated_snippets("x86_64"):
# Check for support of LBR format with cycles.
- if can_use_perf_counters('latency', ['-x86-lbr-sample-period', '123', '-repetition-mode', 'loop']):
- config.available_features.add('exegesis-can-measure-latency-lbr')
+ if can_use_perf_counters(
+ "latency", ["-x86-lbr-sample-period", "123", "-repetition-mode", "loop"]
+ ):
+ config.available_features.add("exegesis-can-measure-latency-lbr")
diff --git a/llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg b/llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg
index 8a995e36a127..8790875978c1 100644
--- a/llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg
+++ b/llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not ('ARM' in config.root.targets and 'AArch64' in config.root.targets):
+if not ("ARM" in config.root.targets and "AArch64" in config.root.targets):
config.unsupported = True
diff --git a/llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg b/llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-ifs/lit.local.cfg b/llvm/test/tools/llvm-ifs/lit.local.cfg
index 88631d55fc9b..77b8b56c7c7e 100644
--- a/llvm/test/tools/llvm-ifs/lit.local.cfg
+++ b/llvm/test/tools/llvm-ifs/lit.local.cfg
@@ -1 +1 @@
-config.suffixes = ['.ll', '.s', '.test', '.yaml', '.ifs']
+config.suffixes = [".ll", ".s", ".test", ".yaml", ".ifs"]
diff --git a/llvm/test/tools/llvm-lib/lit.local.cfg b/llvm/test/tools/llvm-lib/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-lib/lit.local.cfg
+++ b/llvm/test/tools/llvm-lib/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-lto2/X86/lit.local.cfg b/llvm/test/tools/llvm-lto2/X86/lit.local.cfg
index afde89be896d..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-lto2/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-lto2/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
- config.unsupported = True
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/tools/llvm-mc/lit.local.cfg b/llvm/test/tools/llvm-mc/lit.local.cfg
index 00173edc899f..dfb1be44af86 100644
--- a/llvm/test/tools/llvm-mc/lit.local.cfg
+++ b/llvm/test/tools/llvm-mc/lit.local.cfg
@@ -1,3 +1,3 @@
# Requires a non-empty default triple for these tests
-if 'object-emission' not in config.available_features:
+if "object-emission" not in config.available_features:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-mca/AArch64/lit.local.cfg b/llvm/test/tools/llvm-mca/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/tools/llvm-mca/AArch64/lit.local.cfg
+++ b/llvm/test/tools/llvm-mca/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-mca/AMDGPU/lit.local.cfg b/llvm/test/tools/llvm-mca/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/tools/llvm-mca/AMDGPU/lit.local.cfg
+++ b/llvm/test/tools/llvm-mca/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-mca/ARM/lit.local.cfg b/llvm/test/tools/llvm-mca/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/tools/llvm-mca/ARM/lit.local.cfg
+++ b/llvm/test/tools/llvm-mca/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-mca/JSON/X86/lit.local.cfg b/llvm/test/tools/llvm-mca/JSON/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-mca/JSON/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-mca/JSON/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-mca/SystemZ/lit.local.cfg b/llvm/test/tools/llvm-mca/SystemZ/lit.local.cfg
index 2f3cf7d3f043..f9dd98a21cc3 100644
--- a/llvm/test/tools/llvm-mca/SystemZ/lit.local.cfg
+++ b/llvm/test/tools/llvm-mca/SystemZ/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-mca/X86/lit.local.cfg b/llvm/test/tools/llvm-mca/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-mca/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-mca/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-mca/lit.local.cfg b/llvm/test/tools/llvm-mca/lit.local.cfg
index eb099c463f00..43b85ac953b2 100644
--- a/llvm/test/tools/llvm-mca/lit.local.cfg
+++ b/llvm/test/tools/llvm-mca/lit.local.cfg
@@ -1,3 +1,3 @@
# Requires a non-empty default triple for these tests
-if 'default_triple' not in config.available_features:
+if "default_triple" not in config.available_features:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-ml/lit.local.cfg b/llvm/test/tools/llvm-ml/lit.local.cfg
index 39c93fcfcb53..e7b7d78f22ac 100644
--- a/llvm/test/tools/llvm-ml/lit.local.cfg
+++ b/llvm/test/tools/llvm-ml/lit.local.cfg
@@ -1,6 +1,6 @@
-if not ('X86' in config.root.targets):
+if not ("X86" in config.root.targets):
# We need support for X86.
config.unsupported = True
-config.suffixes.add('.asm')
-config.suffixes.add('.blah')
+config.suffixes.add(".asm")
+config.suffixes.add(".blah")
diff --git a/llvm/test/tools/llvm-nm/AArch64/lit.local.cfg b/llvm/test/tools/llvm-nm/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/tools/llvm-nm/AArch64/lit.local.cfg
+++ b/llvm/test/tools/llvm-nm/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-nm/ARM/lit.local.cfg b/llvm/test/tools/llvm-nm/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/tools/llvm-nm/ARM/lit.local.cfg
+++ b/llvm/test/tools/llvm-nm/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-nm/X86/lit.local.cfg b/llvm/test/tools/llvm-nm/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-nm/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-nm/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-nm/wasm/lit.local.cfg b/llvm/test/tools/llvm-nm/wasm/lit.local.cfg
index 743473517cd0..d5f39ab4dbc8 100644
--- a/llvm/test/tools/llvm-nm/wasm/lit.local.cfg
+++ b/llvm/test/tools/llvm-nm/wasm/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg b/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/ELF/AArch64/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/tools/llvm-objdump/ELF/AArch64/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/ELF/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg
index 2a665f06be72..7c492428aec7 100644
--- a/llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/ELF/ARM/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/tools/llvm-objdump/ELF/ARM/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/ELF/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/ELF/Hexagon/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/Hexagon/lit.local.cfg
index 78cc7b22d238..d2975c4388f1 100644
--- a/llvm/test/tools/llvm-objdump/ELF/Hexagon/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/ELF/Hexagon/lit.local.cfg
@@ -1,7 +1,7 @@
import platform
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
config.unsupported = True
-if platform.system() in ['Windows']:
- config.unsupported = True
+if platform.system() in ["Windows"]:
+ config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/ELF/Lanai/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/Lanai/lit.local.cfg
index 2e12e267e0ac..a79c37a3f14c 100644
--- a/llvm/test/tools/llvm-objdump/ELF/Lanai/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/ELF/Lanai/lit.local.cfg
@@ -1,4 +1,4 @@
import platform
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/ELF/Mips/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/Mips/lit.local.cfg
index 7d12f7a9c564..b997811996b3 100644
--- a/llvm/test/tools/llvm-objdump/ELF/Mips/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/ELF/Mips/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/ELF/PowerPC/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/PowerPC/lit.local.cfg
index b77510721e10..bb982488eb15 100644
--- a/llvm/test/tools/llvm-objdump/ELF/PowerPC/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/ELF/PowerPC/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
- config.unsupported = True
+if not "PowerPC" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg b/llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/MachO/AArch64/lit.local.cfg b/llvm/test/tools/llvm-objdump/MachO/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/tools/llvm-objdump/MachO/AArch64/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/MachO/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/MachO/ARM/lit.local.cfg b/llvm/test/tools/llvm-objdump/MachO/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/tools/llvm-objdump/MachO/ARM/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/MachO/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/MachO/lit.local.cfg b/llvm/test/tools/llvm-objdump/MachO/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-objdump/MachO/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/MachO/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/X86/lit.local.cfg b/llvm/test/tools/llvm-objdump/X86/lit.local.cfg
index c8625f4d9d24..42bf50dcc13c 100644
--- a/llvm/test/tools/llvm-objdump/X86/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/X86/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/XCOFF/lit.local.cfg b/llvm/test/tools/llvm-objdump/XCOFF/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/tools/llvm-objdump/XCOFF/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/XCOFF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-objdump/wasm/lit.local.cfg b/llvm/test/tools/llvm-objdump/wasm/lit.local.cfg
index 0dd8c920ff1e..4d1c143708f7 100644
--- a/llvm/test/tools/llvm-objdump/wasm/lit.local.cfg
+++ b/llvm/test/tools/llvm-objdump/wasm/lit.local.cfg
@@ -1,2 +1,2 @@
-if 'WebAssembly' not in config.root.targets:
+if "WebAssembly" not in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-pdbutil/lit.local.cfg b/llvm/test/tools/llvm-pdbutil/lit.local.cfg
index 5f1f826babb2..007f55d79bba 100644
--- a/llvm/test/tools/llvm-pdbutil/lit.local.cfg
+++ b/llvm/test/tools/llvm-pdbutil/lit.local.cfg
@@ -1,2 +1,2 @@
if config.have_dia_sdk:
- config.available_features.add("diasdk")
+ config.available_features.add("diasdk")
diff --git a/llvm/test/tools/llvm-profdata/lit.local.cfg b/llvm/test/tools/llvm-profdata/lit.local.cfg
index d44913a8239c..2b1defcf58f6 100644
--- a/llvm/test/tools/llvm-profdata/lit.local.cfg
+++ b/llvm/test/tools/llvm-profdata/lit.local.cfg
@@ -1 +1 @@
-config.suffixes.add('.proftext')
+config.suffixes.add(".proftext")
diff --git a/llvm/test/tools/llvm-profgen/lit.local.cfg b/llvm/test/tools/llvm-profgen/lit.local.cfg
index 197150e220e8..c628a80ff368 100644
--- a/llvm/test/tools/llvm-profgen/lit.local.cfg
+++ b/llvm/test/tools/llvm-profgen/lit.local.cfg
@@ -1,7 +1,7 @@
import subprocess
import lit.util
-config.suffixes = ['.test', '.ll', '.s', '.yaml']
+config.suffixes = [".test", ".ll", ".s", ".yaml"]
-if not 'X86' in config.root.targets:
- config.unsupported = True
+if not "X86" in config.root.targets:
+ config.unsupported = True
diff --git a/llvm/test/tools/llvm-readobj/ELF/AArch64/lit.local.cfg b/llvm/test/tools/llvm-readobj/ELF/AArch64/lit.local.cfg
index 7184443994b6..10d4a0e953ed 100644
--- a/llvm/test/tools/llvm-readobj/ELF/AArch64/lit.local.cfg
+++ b/llvm/test/tools/llvm-readobj/ELF/AArch64/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-readobj/ELF/ARM/lit.local.cfg b/llvm/test/tools/llvm-readobj/ELF/ARM/lit.local.cfg
index 236e1d344166..7c23e4f98013 100644
--- a/llvm/test/tools/llvm-readobj/ELF/ARM/lit.local.cfg
+++ b/llvm/test/tools/llvm-readobj/ELF/ARM/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg b/llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg
index 4ad9495c56fc..f19a7a9c6d0a 100644
--- a/llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg
+++ b/llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'MSP430' in config.root.targets:
+if not "MSP430" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg b/llvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg
index c63820126f8c..17351748513d 100644
--- a/llvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg
+++ b/llvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/llvm-readobj/XCOFF/lit.local.cfg b/llvm/test/tools/llvm-readobj/XCOFF/lit.local.cfg
index 091332439b18..bb982488eb15 100644
--- a/llvm/test/tools/llvm-readobj/XCOFF/lit.local.cfg
+++ b/llvm/test/tools/llvm-readobj/XCOFF/lit.local.cfg
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
config.unsupported = True
diff --git a/llvm/test/tools/lto/lit.local.cfg b/llvm/test/tools/lto/lit.local.cfg
index 5ca293be58c3..d9769af93d2f 100644
--- a/llvm/test/tools/lto/lit.local.cfg
+++ b/llvm/test/tools/lto/lit.local.cfg
@@ -1,6 +1,6 @@
-if not ('ld64_plugin' in config.available_features and 'X86' in config.root.targets):
+if not ("ld64_plugin" in config.available_features and "X86" in config.root.targets):
config.unsupported = True
# These tests invoke ld64 from the system, which is not leak-free
if "Address" in config.llvm_use_sanitizer:
- config.environment['ASAN_OPTIONS'] = 'detect_leaks=0'
+ config.environment["ASAN_OPTIONS"] = "detect_leaks=0"
diff --git a/llvm/test/tools/opt-viewer/lit.local.cfg b/llvm/test/tools/opt-viewer/lit.local.cfg
index 90f09fed2f0b..d181a93eb846 100644
--- a/llvm/test/tools/opt-viewer/lit.local.cfg
+++ b/llvm/test/tools/opt-viewer/lit.local.cfg
@@ -1,10 +1,10 @@
import sys
-if 'have_opt_viewer_modules' not in config.available_features:
+if "have_opt_viewer_modules" not in config.available_features:
config.unsupported = True
# Windows has different multiprocessing behavior than non-Windows, which causes
# all of the tests to fail presently under Windows. Disable this until those
# can be resolved.
-if sys.platform == 'win32':
+if sys.platform == "win32":
config.unsupported = True
diff --git a/llvm/test/tools/sancov/lit.local.cfg b/llvm/test/tools/sancov/lit.local.cfg
index 456c28b3cef6..e52b44e619ca 100644
--- a/llvm/test/tools/sancov/lit.local.cfg
+++ b/llvm/test/tools/sancov/lit.local.cfg
@@ -1,4 +1,4 @@
# These tests require a registered x86 backend.
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
config.unsupported = True
diff --git a/llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg b/llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg
index 631cb602b0d9..8c60bb72ea44 100644
--- a/llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg
+++ b/llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg
@@ -1,4 +1,4 @@
-config.suffixes = ['.py']
+config.suffixes = [".py"]
# Check that the arbitrary config values in our parent was inherited.
-assert hasattr(config, 'an_extra_variable')
+assert hasattr(config, "an_extra_variable")
diff --git a/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/lit.local.cfg b/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/lit.local.cfg
index 5e87c7299198..4cc234df4fca 100644
--- a/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/lit.local.cfg
+++ b/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/lit.local.cfg
@@ -1,2 +1,3 @@
import lit.formats
+
config.test_format = lit.formats.ShTest(execute_external=True)
diff --git a/llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg b/llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg
index 5e87c7299198..4cc234df4fca 100644
--- a/llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg
+++ b/llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg
@@ -1,2 +1,3 @@
import lit.formats
+
config.test_format = lit.formats.ShTest(execute_external=True)
diff --git a/llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg b/llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg
index b76b7a24c99e..3002a11ed23c 100644
--- a/llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg
+++ b/llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg
@@ -1,2 +1,3 @@
import lit.formats
+
config.test_format = lit.formats.ShTest(execute_external=False)