[NFC][Py Reformat] Reformat lit.local.cfg python files in llvm
authorTobias Hieta <tobias@hieta.se>
Wed, 17 May 2023 09:01:54 +0000 (11:01 +0200)
committerTobias Hieta <tobias@hieta.se>
Wed, 17 May 2023 15:03:15 +0000 (17:03 +0200)
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

428 files changed:
llvm/test/Analysis/CostModel/AArch64/lit.local.cfg
llvm/test/Analysis/CostModel/AMDGPU/lit.local.cfg
llvm/test/Analysis/CostModel/ARM/lit.local.cfg
llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg
llvm/test/Analysis/CostModel/RISCV/lit.local.cfg
llvm/test/Analysis/CostModel/SystemZ/lit.local.cfg
llvm/test/Analysis/CostModel/X86/lit.local.cfg
llvm/test/Analysis/Delinearization/lit.local.cfg
llvm/test/Analysis/DotMachineCFG/AMDGPU/lit.local.cfg
llvm/test/Analysis/Lint/lit.local.cfg
llvm/test/Analysis/LoopCacheAnalysis/PowerPC/lit.local.cfg
llvm/test/Analysis/UniformityAnalysis/AMDGPU/lit.local.cfg
llvm/test/Analysis/UniformityAnalysis/NVPTX/lit.local.cfg
llvm/test/Bindings/OCaml/Utils/lit.local.cfg
llvm/test/Bindings/OCaml/lit.local.cfg
llvm/test/CodeGen/AArch64/lit.local.cfg
llvm/test/CodeGen/AMDGPU/lit.local.cfg
llvm/test/CodeGen/ARC/lit.local.cfg
llvm/test/CodeGen/ARM/lit.local.cfg
llvm/test/CodeGen/AVR/lit.local.cfg
llvm/test/CodeGen/BPF/lit.local.cfg
llvm/test/CodeGen/CSKY/fpu/lit.local.cfg
llvm/test/CodeGen/CSKY/lit.local.cfg
llvm/test/CodeGen/DirectX/lit.local.cfg
llvm/test/CodeGen/Hexagon/lit.local.cfg
llvm/test/CodeGen/Lanai/lit.local.cfg
llvm/test/CodeGen/LoongArch/lit.local.cfg
llvm/test/CodeGen/M68k/lit.local.cfg
llvm/test/CodeGen/MIR/AArch64/lit.local.cfg
llvm/test/CodeGen/MIR/AMDGPU/lit.local.cfg
llvm/test/CodeGen/MIR/ARM/lit.local.cfg
llvm/test/CodeGen/MIR/Generic/lit.local.cfg
llvm/test/CodeGen/MIR/Hexagon/lit.local.cfg
llvm/test/CodeGen/MIR/Mips/lit.local.cfg
llvm/test/CodeGen/MIR/NVPTX/lit.local.cfg
llvm/test/CodeGen/MIR/PowerPC/lit.local.cfg
llvm/test/CodeGen/MIR/RISCV/lit.local.cfg
llvm/test/CodeGen/MIR/WebAssembly/lit.local.cfg
llvm/test/CodeGen/MIR/X86/lit.local.cfg
llvm/test/CodeGen/MSP430/lit.local.cfg
llvm/test/CodeGen/Mips/lit.local.cfg
llvm/test/CodeGen/NVPTX/lit.local.cfg
llvm/test/CodeGen/PowerPC/lit.local.cfg
llvm/test/CodeGen/RISCV/lit.local.cfg
llvm/test/CodeGen/SPARC/lit.local.cfg
llvm/test/CodeGen/SPIRV/lit.local.cfg
llvm/test/CodeGen/SystemZ/Large/lit.local.cfg
llvm/test/CodeGen/SystemZ/lit.local.cfg
llvm/test/CodeGen/Thumb/lit.local.cfg
llvm/test/CodeGen/Thumb2/lit.local.cfg
llvm/test/CodeGen/VE/VELIntrinsics/lit.local.cfg
llvm/test/CodeGen/VE/lit.local.cfg
llvm/test/CodeGen/WebAssembly/lit.local.cfg
llvm/test/CodeGen/WinCFGuard/lit.local.cfg
llvm/test/CodeGen/WinEH/lit.local.cfg
llvm/test/CodeGen/X86/GC/lit.local.cfg
llvm/test/CodeGen/X86/lit.local.cfg
llvm/test/CodeGen/XCore/lit.local.cfg
llvm/test/DebugInfo/AArch64/lit.local.cfg
llvm/test/DebugInfo/AMDGPU/lit.local.cfg
llvm/test/DebugInfo/ARM/lit.local.cfg
llvm/test/DebugInfo/BPF/lit.local.cfg
llvm/test/DebugInfo/COFF/AArch64/lit.local.cfg
llvm/test/DebugInfo/COFF/ARMNT/lit.local.cfg
llvm/test/DebugInfo/COFF/lit.local.cfg
llvm/test/DebugInfo/CSKY/lit.local.cfg
llvm/test/DebugInfo/Lanai/lit.local.cfg
llvm/test/DebugInfo/MIR/AArch64/lit.local.cfg
llvm/test/DebugInfo/MIR/ARM/lit.local.cfg
llvm/test/DebugInfo/MIR/Hexagon/lit.local.cfg
llvm/test/DebugInfo/MIR/InstrRef/lit.local.cfg
llvm/test/DebugInfo/MIR/Mips/lit.local.cfg
llvm/test/DebugInfo/MIR/SystemZ/lit.local.cfg
llvm/test/DebugInfo/MIR/X86/lit.local.cfg
llvm/test/DebugInfo/MIR/lit.local.cfg
llvm/test/DebugInfo/MSP430/lit.local.cfg
llvm/test/DebugInfo/Mips/lit.local.cfg
llvm/test/DebugInfo/NVPTX/lit.local.cfg
llvm/test/DebugInfo/PowerPC/lit.local.cfg
llvm/test/DebugInfo/RISCV/lit.local.cfg
llvm/test/DebugInfo/Sparc/lit.local.cfg
llvm/test/DebugInfo/SystemZ/lit.local.cfg
llvm/test/DebugInfo/WebAssembly/lit.local.cfg
llvm/test/DebugInfo/X86/lit.local.cfg
llvm/test/DebugInfo/XCOFF/lit.local.cfg
llvm/test/DebugInfo/XCore/lit.local.cfg
llvm/test/DebugInfo/assignment-tracking/AArch64/lit.local.cfg
llvm/test/DebugInfo/assignment-tracking/X86/lit.local.cfg
llvm/test/Examples/lit.local.cfg
llvm/test/ExecutionEngine/JITLink/AArch32/lit.local.cfg
llvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg
llvm/test/ExecutionEngine/JITLink/LoongArch/lit.local.cfg
llvm/test/ExecutionEngine/JITLink/RISCV/lit.local.cfg
llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg
llvm/test/ExecutionEngine/JITLink/x86-64/lit.local.cfg
llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg
llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg
llvm/test/ExecutionEngine/RuntimeDyld/AArch64/lit.local.cfg
llvm/test/ExecutionEngine/RuntimeDyld/ARM/lit.local.cfg
llvm/test/ExecutionEngine/RuntimeDyld/BPF/lit.local.cfg
llvm/test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg
llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg
llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/lit.local.cfg
llvm/test/ExecutionEngine/RuntimeDyld/X86/lit.local.cfg
llvm/test/ExecutionEngine/lit.local.cfg
llvm/test/FileCheck/lit.local.cfg
llvm/test/Instrumentation/AddressSanitizer/AMDGPU/lit.local.cfg
llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
llvm/test/Instrumentation/InstrProfiling/X86/lit.local.cfg
llvm/test/JitListener/lit.local.cfg
llvm/test/LTO/AArch64/lit.local.cfg
llvm/test/LTO/ARM/lit.local.cfg
llvm/test/LTO/PowerPC/lit.local.cfg
llvm/test/LTO/Resolution/X86/lit.local.cfg
llvm/test/LTO/X86/lit.local.cfg
llvm/test/MC/AArch64/lit.local.cfg
llvm/test/MC/AMDGPU/lit.local.cfg
llvm/test/MC/AMDGPU/regression/lit.local.cfg
llvm/test/MC/ARM/AlignedBundling/lit.local.cfg
llvm/test/MC/ARM/lit.local.cfg
llvm/test/MC/AVR/lit.local.cfg
llvm/test/MC/AsmParser/AArch64/lit.local.cfg
llvm/test/MC/AsmParser/lit.local.cfg
llvm/test/MC/BPF/lit.local.cfg
llvm/test/MC/COFF/ARM/lit.local.cfg
llvm/test/MC/COFF/lit.local.cfg
llvm/test/MC/CSKY/lit.local.cfg
llvm/test/MC/Disassembler/AArch64/lit.local.cfg
llvm/test/MC/Disassembler/AMDGPU/lit.local.cfg
llvm/test/MC/Disassembler/ARC/lit.local.cfg
llvm/test/MC/Disassembler/ARM/lit.local.cfg
llvm/test/MC/Disassembler/Hexagon/lit.local.cfg
llvm/test/MC/Disassembler/Lanai/lit.local.cfg
llvm/test/MC/Disassembler/M68k/lit.local.cfg
llvm/test/MC/Disassembler/MSP430/lit.local.cfg
llvm/test/MC/Disassembler/Mips/lit.local.cfg
llvm/test/MC/Disassembler/PowerPC/lit.local.cfg
llvm/test/MC/Disassembler/RISCV/lit.local.cfg
llvm/test/MC/Disassembler/Sparc/lit.local.cfg
llvm/test/MC/Disassembler/SystemZ/lit.local.cfg
llvm/test/MC/Disassembler/WebAssembly/lit.local.cfg
llvm/test/MC/Disassembler/X86/lit.local.cfg
llvm/test/MC/Disassembler/XCore/lit.local.cfg
llvm/test/MC/ELF/AArch64/lit.local.cfg
llvm/test/MC/ELF/AMDGPU/lit.local.cfg
llvm/test/MC/ELF/ARM/lit.local.cfg
llvm/test/MC/ELF/RISCV/lit.local.cfg
llvm/test/MC/ELF/lit.local.cfg
llvm/test/MC/Hexagon/lit.local.cfg
llvm/test/MC/Lanai/lit.local.cfg
llvm/test/MC/LoongArch/lit.local.cfg
llvm/test/MC/M68k/lit.local.cfg
llvm/test/MC/MSP430/lit.local.cfg
llvm/test/MC/MachO/AArch64/lit.local.cfg
llvm/test/MC/MachO/ARM/lit.local.cfg
llvm/test/MC/MachO/lit.local.cfg
llvm/test/MC/Mips/lit.local.cfg
llvm/test/MC/PowerPC/lit.local.cfg
llvm/test/MC/RISCV/lit.local.cfg
llvm/test/MC/Sparc/lit.local.cfg
llvm/test/MC/SystemZ/lit.local.cfg
llvm/test/MC/VE/lit.local.cfg
llvm/test/MC/WebAssembly/lit.local.cfg
llvm/test/MC/X86/AlignedBundling/lit.local.cfg
llvm/test/MC/X86/lit.local.cfg
llvm/test/MC/XCOFF/lit.local.cfg
llvm/test/MC/Xtensa/lit.local.cfg
llvm/test/Object/AMDGPU/lit.local.cfg
llvm/test/Object/ARM/lit.local.cfg
llvm/test/Object/BPF/lit.local.cfg
llvm/test/Object/Lanai/lit.local.cfg
llvm/test/Object/Mips/lit.local.cfg
llvm/test/Object/RISCV/lit.local.cfg
llvm/test/Object/X86/lit.local.cfg
llvm/test/Other/ChangePrinters/DotCfg/lit.local.cfg
llvm/test/Other/ChangePrinters/lit.local.cfg
llvm/test/Other/ChangeTesters/lit.local.cfg
llvm/test/Other/X86/lit.local.cfg
llvm/test/TableGen/lit.local.cfg
llvm/test/ThinLTO/X86/lit.local.cfg
llvm/test/Transforms/AggressiveInstCombine/AArch64/lit.local.cfg
llvm/test/Transforms/AggressiveInstCombine/ARM/lit.local.cfg
llvm/test/Transforms/AggressiveInstCombine/X86/lit.local.cfg
llvm/test/Transforms/ArgumentPromotion/BPF/lit.local.cfg
llvm/test/Transforms/ArgumentPromotion/X86/lit.local.cfg
llvm/test/Transforms/AtomicExpand/AArch64/lit.local.cfg
llvm/test/Transforms/AtomicExpand/AMDGPU/lit.local.cfg
llvm/test/Transforms/AtomicExpand/ARM/lit.local.cfg
llvm/test/Transforms/AtomicExpand/Hexagon/lit.local.cfg
llvm/test/Transforms/AtomicExpand/LoongArch/lit.local.cfg
llvm/test/Transforms/AtomicExpand/Mips/lit.local.cfg
llvm/test/Transforms/AtomicExpand/PowerPC/lit.local.cfg
llvm/test/Transforms/AtomicExpand/RISCV/lit.local.cfg
llvm/test/Transforms/AtomicExpand/SPARC/lit.local.cfg
llvm/test/Transforms/AtomicExpand/X86/lit.local.cfg
llvm/test/Transforms/Attributor/ArgumentPromotion/X86/lit.local.cfg
llvm/test/Transforms/Attributor/lit.local.cfg
llvm/test/Transforms/CodeExtractor/X86/lit.local.cfg
llvm/test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg
llvm/test/Transforms/CodeGenPrepare/AMDGPU/lit.local.cfg
llvm/test/Transforms/CodeGenPrepare/ARM/lit.local.cfg
llvm/test/Transforms/CodeGenPrepare/Mips/lit.local.cfg
llvm/test/Transforms/CodeGenPrepare/NVPTX/lit.local.cfg
llvm/test/Transforms/CodeGenPrepare/PowerPC/lit.local.cfg
llvm/test/Transforms/CodeGenPrepare/RISCV/lit.local.cfg
llvm/test/Transforms/CodeGenPrepare/SPARC/lit.local.cfg
llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg
llvm/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg
llvm/test/Transforms/ConstantHoisting/ARM/lit.local.cfg
llvm/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg
llvm/test/Transforms/ConstantHoisting/RISCV/lit.local.cfg
llvm/test/Transforms/ConstantHoisting/X86/lit.local.cfg
llvm/test/Transforms/DivRemPairs/Mips/lit.local.cfg
llvm/test/Transforms/DivRemPairs/PowerPC/lit.local.cfg
llvm/test/Transforms/DivRemPairs/X86/lit.local.cfg
llvm/test/Transforms/EarlyCSE/AArch64/lit.local.cfg
llvm/test/Transforms/EarlyCSE/AMDGPU/lit.local.cfg
llvm/test/Transforms/EarlyCSE/DirectX/lit.local.cfg
llvm/test/Transforms/EarlyCSE/PowerPC/lit.local.cfg
llvm/test/Transforms/EarlyCSE/X86/lit.local.cfg
llvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg
llvm/test/Transforms/ExpandMemCmp/X86/lit.local.cfg
llvm/test/Transforms/GlobalOpt/PowerPC/lit.local.cfg
llvm/test/Transforms/HardwareLoops/ARM/lit.local.cfg
llvm/test/Transforms/HotColdSplit/X86/lit.local.cfg
llvm/test/Transforms/IndVarSimplify/AArch64/lit.local.cfg
llvm/test/Transforms/IndVarSimplify/AMDGPU/lit.local.cfg
llvm/test/Transforms/IndVarSimplify/ARM/lit.local.cfg
llvm/test/Transforms/IndVarSimplify/NVPTX/lit.local.cfg
llvm/test/Transforms/IndVarSimplify/X86/lit.local.cfg
llvm/test/Transforms/InferAddressSpaces/AMDGPU/lit.local.cfg
llvm/test/Transforms/InferAddressSpaces/NVPTX/lit.local.cfg
llvm/test/Transforms/Inline/AArch64/lit.local.cfg
llvm/test/Transforms/Inline/AMDGPU/lit.local.cfg
llvm/test/Transforms/Inline/ARM/lit.local.cfg
llvm/test/Transforms/Inline/ML/lit.local.cfg
llvm/test/Transforms/Inline/PowerPC/lit.local.cfg
llvm/test/Transforms/Inline/WebAssembly/lit.local.cfg
llvm/test/Transforms/Inline/X86/lit.local.cfg
llvm/test/Transforms/InstCombine/AArch64/lit.local.cfg
llvm/test/Transforms/InstCombine/AMDGPU/lit.local.cfg
llvm/test/Transforms/InstCombine/ARM/lit.local.cfg
llvm/test/Transforms/InstCombine/Hexagon/lit.local.cfg
llvm/test/Transforms/InstCombine/NVPTX/lit.local.cfg
llvm/test/Transforms/InstCombine/PowerPC/lit.local.cfg
llvm/test/Transforms/InstCombine/RISCV/lit.local.cfg
llvm/test/Transforms/InstCombine/X86/lit.local.cfg
llvm/test/Transforms/InstSimplify/ConstProp/AArch64/lit.local.cfg
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/lit.local.cfg
llvm/test/Transforms/InstSimplify/ConstProp/ARM/lit.local.cfg
llvm/test/Transforms/InterleavedAccess/AArch64/lit.local.cfg
llvm/test/Transforms/InterleavedAccess/ARM/lit.local.cfg
llvm/test/Transforms/InterleavedAccess/RISCV/lit.local.cfg
llvm/test/Transforms/InterleavedAccess/X86/lit.local.cfg
llvm/test/Transforms/LICM/AArch64/lit.local.cfg
llvm/test/Transforms/LICM/AMDGPU/lit.local.cfg
llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/lit.local.cfg
llvm/test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg
llvm/test/Transforms/LoadStoreVectorizer/X86/lit.local.cfg
llvm/test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg
llvm/test/Transforms/LoopDataPrefetch/LoongArch/lit.local.cfg
llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg
llvm/test/Transforms/LoopIdiom/AMDGPU/lit.local.cfg
llvm/test/Transforms/LoopIdiom/RISCV/lit.local.cfg
llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg
llvm/test/Transforms/LoopRotate/RISCV/lit.local.cfg
llvm/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg
llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lit.local.cfg
llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg
llvm/test/Transforms/LoopStrengthReduce/NVPTX/lit.local.cfg
llvm/test/Transforms/LoopStrengthReduce/Power/lit.local.cfg
llvm/test/Transforms/LoopStrengthReduce/RISCV/lit.local.cfg
llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg
llvm/test/Transforms/LoopUnroll/AArch64/lit.local.cfg
llvm/test/Transforms/LoopUnroll/AMDGPU/lit.local.cfg
llvm/test/Transforms/LoopUnroll/ARM/lit.local.cfg
llvm/test/Transforms/LoopUnroll/Hexagon/lit.local.cfg
llvm/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg
llvm/test/Transforms/LoopUnroll/RISCV/lit.local.cfg
llvm/test/Transforms/LoopUnroll/WebAssembly/lit.local.cfg
llvm/test/Transforms/LoopUnroll/X86/lit.local.cfg
llvm/test/Transforms/LoopVectorize/AArch64/lit.local.cfg
llvm/test/Transforms/LoopVectorize/AMDGPU/lit.local.cfg
llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg
llvm/test/Transforms/LoopVectorize/Hexagon/lit.local.cfg
llvm/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg
llvm/test/Transforms/LoopVectorize/RISCV/lit.local.cfg
llvm/test/Transforms/LoopVectorize/SystemZ/lit.local.cfg
llvm/test/Transforms/LoopVectorize/VE/lit.local.cfg
llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg
llvm/test/Transforms/LoopVectorize/XCore/lit.local.cfg
llvm/test/Transforms/MergeICmps/X86/lit.local.cfg
llvm/test/Transforms/NaryReassociate/NVPTX/lit.local.cfg
llvm/test/Transforms/PGOProfile/X86/lit.local.cfg
llvm/test/Transforms/PartiallyInlineLibCalls/X86/lit.local.cfg
llvm/test/Transforms/PhaseOrdering/AArch64/lit.local.cfg
llvm/test/Transforms/PhaseOrdering/ARM/lit.local.cfg
llvm/test/Transforms/PhaseOrdering/SystemZ/lit.local.cfg
llvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg
llvm/test/Transforms/RewriteStatepointsForGC/X86/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/AMDGPU/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/NVPTX/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/PowerPC/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/RISCV/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/SystemZ/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/VE/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/WebAssembly/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg
llvm/test/Transforms/SLPVectorizer/XCore/lit.local.cfg
llvm/test/Transforms/SafeStack/AArch64/lit.local.cfg
llvm/test/Transforms/SafeStack/ARM/lit.local.cfg
llvm/test/Transforms/SafeStack/X86/lit.local.cfg
llvm/test/Transforms/SeparateConstOffsetFromGEP/AArch64/lit.local.cfg
llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lit.local.cfg
llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg
llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/lit.local.cfg
llvm/test/Transforms/SimpleLoopUnswitch/ARM/lit.local.cfg
llvm/test/Transforms/SimplifyCFG/AArch64/lit.local.cfg
llvm/test/Transforms/SimplifyCFG/AMDGPU/lit.local.cfg
llvm/test/Transforms/SimplifyCFG/ARM/lit.local.cfg
llvm/test/Transforms/SimplifyCFG/Hexagon/lit.local.cfg
llvm/test/Transforms/SimplifyCFG/Mips/lit.local.cfg
llvm/test/Transforms/SimplifyCFG/PowerPC/lit.local.cfg
llvm/test/Transforms/SimplifyCFG/RISCV/lit.local.cfg
llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg
llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg
llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/lit.local.cfg
llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/lit.local.cfg
llvm/test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg
llvm/test/Transforms/StructurizeCFG/AMDGPU/lit.local.cfg
llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg
llvm/test/Transforms/TypePromotion/AArch64/lit.local.cfg
llvm/test/Transforms/TypePromotion/ARM/lit.local.cfg
llvm/test/Transforms/VectorCombine/AArch64/lit.local.cfg
llvm/test/Transforms/VectorCombine/AMDGPU/lit.local.cfg
llvm/test/Transforms/VectorCombine/Hexagon/lit.local.cfg
llvm/test/Transforms/VectorCombine/X86/lit.local.cfg
llvm/test/Verifier/AMDGPU/lit.local.cfg
llvm/test/Verifier/ARM/lit.local.cfg
llvm/test/Verifier/LoongArch/lit.local.cfg
llvm/test/Verifier/Mips/lit.local.cfg
llvm/test/Verifier/SystemZ/lit.local.cfg
llvm/test/tools/UpdateTestChecks/lit.local.cfg
llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/lit.local.cfg
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lit.local.cfg
llvm/test/tools/UpdateTestChecks/update_mir_test_checks/lit.local.cfg
llvm/test/tools/UpdateTestChecks/update_test_checks/lit.local.cfg
llvm/test/tools/dsymutil/ARM/lit.local.cfg
llvm/test/tools/dsymutil/X86/lit.local.cfg
llvm/test/tools/dxil-dis/lit.local.cfg
llvm/test/tools/gold/PowerPC/lit.local.cfg
llvm/test/tools/gold/X86/lit.local.cfg
llvm/test/tools/gold/X86/v1.12/lit.local.cfg
llvm/test/tools/gold/X86/v1.16/lit.local.cfg
llvm/test/tools/gold/lit.local.cfg
llvm/test/tools/llvm-as/lit.local.cfg
llvm/test/tools/llvm-cfi-verify/AArch64/lit.local.cfg
llvm/test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg
llvm/test/tools/llvm-cfi-verify/X86/lit.local.cfg
llvm/test/tools/llvm-cov/lit.local.cfg
llvm/test/tools/llvm-cxxdump/X86/lit.local.cfg
llvm/test/tools/llvm-dlltool/lit.local.cfg
llvm/test/tools/llvm-driver/lit.local.cfg
llvm/test/tools/llvm-dwarfdump/AArch64/lit.local.cfg
llvm/test/tools/llvm-dwarfdump/AMDGPU/lit.local.cfg
llvm/test/tools/llvm-dwarfdump/ARM/lit.local.cfg
llvm/test/tools/llvm-dwarfdump/RISCV/lit.local.cfg
llvm/test/tools/llvm-dwarfdump/X86/lit.local.cfg
llvm/test/tools/llvm-dwarfdump/XCOFF/lit.local.cfg
llvm/test/tools/llvm-dwarfutil/ELF/X86/lit.local.cfg
llvm/test/tools/llvm-dwp/WebAssembly/lit.local.cfg
llvm/test/tools/llvm-dwp/X86/lit.local.cfg
llvm/test/tools/llvm-exegesis/AArch64/lit.local.cfg
llvm/test/tools/llvm-exegesis/Mips/lit.local.cfg
llvm/test/tools/llvm-exegesis/PowerPC/lit.local.cfg
llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
llvm/test/tools/llvm-exegesis/lit.local.cfg
llvm/test/tools/llvm-gsymutil/ARM_AArch64/lit.local.cfg
llvm/test/tools/llvm-gsymutil/X86/lit.local.cfg
llvm/test/tools/llvm-ifs/lit.local.cfg
llvm/test/tools/llvm-lib/lit.local.cfg
llvm/test/tools/llvm-lto2/X86/lit.local.cfg
llvm/test/tools/llvm-mc/lit.local.cfg
llvm/test/tools/llvm-mca/AArch64/lit.local.cfg
llvm/test/tools/llvm-mca/AMDGPU/lit.local.cfg
llvm/test/tools/llvm-mca/ARM/lit.local.cfg
llvm/test/tools/llvm-mca/JSON/X86/lit.local.cfg
llvm/test/tools/llvm-mca/SystemZ/lit.local.cfg
llvm/test/tools/llvm-mca/X86/lit.local.cfg
llvm/test/tools/llvm-mca/lit.local.cfg
llvm/test/tools/llvm-ml/lit.local.cfg
llvm/test/tools/llvm-nm/AArch64/lit.local.cfg
llvm/test/tools/llvm-nm/ARM/lit.local.cfg
llvm/test/tools/llvm-nm/X86/lit.local.cfg
llvm/test/tools/llvm-nm/wasm/lit.local.cfg
llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg
llvm/test/tools/llvm-objdump/ELF/AArch64/lit.local.cfg
llvm/test/tools/llvm-objdump/ELF/AMDGPU/lit.local.cfg
llvm/test/tools/llvm-objdump/ELF/ARM/lit.local.cfg
llvm/test/tools/llvm-objdump/ELF/Hexagon/lit.local.cfg
llvm/test/tools/llvm-objdump/ELF/Lanai/lit.local.cfg
llvm/test/tools/llvm-objdump/ELF/Mips/lit.local.cfg
llvm/test/tools/llvm-objdump/ELF/PowerPC/lit.local.cfg
llvm/test/tools/llvm-objdump/ELF/RISCV/lit.local.cfg
llvm/test/tools/llvm-objdump/MachO/AArch64/lit.local.cfg
llvm/test/tools/llvm-objdump/MachO/ARM/lit.local.cfg
llvm/test/tools/llvm-objdump/MachO/lit.local.cfg
llvm/test/tools/llvm-objdump/X86/lit.local.cfg
llvm/test/tools/llvm-objdump/XCOFF/lit.local.cfg
llvm/test/tools/llvm-objdump/wasm/lit.local.cfg
llvm/test/tools/llvm-pdbutil/lit.local.cfg
llvm/test/tools/llvm-profdata/lit.local.cfg
llvm/test/tools/llvm-profgen/lit.local.cfg
llvm/test/tools/llvm-readobj/ELF/AArch64/lit.local.cfg
llvm/test/tools/llvm-readobj/ELF/ARM/lit.local.cfg
llvm/test/tools/llvm-readobj/ELF/MSP430/lit.local.cfg
llvm/test/tools/llvm-readobj/ELF/RISCV/lit.local.cfg
llvm/test/tools/llvm-readobj/XCOFF/lit.local.cfg
llvm/test/tools/lto/lit.local.cfg
llvm/test/tools/opt-viewer/lit.local.cfg
llvm/test/tools/sancov/lit.local.cfg
llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg
llvm/utils/lit/tests/Inputs/shtest-format/external_shell/lit.local.cfg
llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg
llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg

index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index c6106e4..1b272e3 100644 (file)
@@ -1 +1 @@
-config.suffixes = ['.ll']
+config.suffixes = [".ll"]
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 2cb98eb..0d37b86 100644 (file)
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
     config.unsupported = True
index 53edf1e..a8c015b 100644 (file)
@@ -1,2 +1,2 @@
 # This is a directory for utility functions. No test here.
-config.suffixes = ['.dummy']
+config.suffixes = [".dummy"]
index 364b97c..03e71e9 100644 (file)
@@ -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
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index fc3d380..efe5cc5 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARC' in config.root.targets:
+if not "ARC" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 908656a..1724fb2 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AVR' in config.root.targets:
+if not "AVR" in config.root.targets:
     config.unsupported = True
index 36a7067..d1828f2 100644 (file)
@@ -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
index 37335bd..fd6373b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'CSKY' in config.root.targets:
+if not "CSKY" in config.root.targets:
     config.unsupported = True
index 37335bd..fd6373b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'CSKY' in config.root.targets:
+if not "CSKY" in config.root.targets:
     config.unsupported = True
index 95c3177..72de724 100644 (file)
@@ -1,2 +1,2 @@
-if not 'DirectX' in config.root.targets:
-  config.unsupported = True
+if not "DirectX" in config.root.targets:
+    config.unsupported = True
index cc6a7ed..3bed54b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
     config.unsupported = True
index f1b8b4f..2384de1 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
     config.unsupported = True
index a54f5ae..bc630db 100644 (file)
@@ -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
index f42093a..571ff6a 100644 (file)
@@ -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
-
index f4f77c5..d7945e5 100644 (file)
@@ -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
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index b2fc141..0f2992f 100644 (file)
@@ -1,2 +1,2 @@
-if 'native' not in config.available_features:
+if "native" not in config.available_features:
     config.unsupported = True
index cc6a7ed..3bed54b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index 2cb98eb..0d37b86 100644 (file)
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index 7434735..d5f39ab 100644 (file)
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 4ad9495..f19a7a9 100644 (file)
@@ -1,2 +1,2 @@
-if not 'MSP430' in config.root.targets:
+if not "MSP430" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index 8354800..e3f06d1 100644 (file)
@@ -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")
index 1dbbf92..3e8c0f8 100644 (file)
@@ -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")
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index d86c9e6..4f51286 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.targets:
     config.unsupported = True
index 5c9b0f1..78dd74c 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SPIRV' in config.root.targets:
+if not "SPIRV" in config.root.targets:
     config.unsupported = True
index dcfac5b..88a2a3d 100644 (file)
@@ -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
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index b636677..d52a71f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'VE' in config.root.targets:
+if not "VE" in config.root.targets:
     config.unsupported = True
index b636677..d52a71f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'VE' in config.root.targets:
+if not "VE" in config.root.targets:
     config.unsupported = True
index 7434735..d5f39ab 100644 (file)
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index f5566ca..b39ce32 100644 (file)
@@ -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
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index bb48713..26c8076 100644 (file)
@@ -1,2 +1,2 @@
-if not 'XCore' in config.root.targets:
+if not "XCore" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index a4ab262..0fe841d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'BPF' in config.root.targets:
+if not "BPF" in config.root.targets:
     config.unsupported = True
index 4004363..3383482 100644 (file)
@@ -1,3 +1,2 @@
-if not 'AArch64' in config.root.targets:\r
+if not "AArch64" in config.root.targets:\r
     config.unsupported = True\r
-\r
index 98c6700..7c23e4f 100644 (file)
@@ -1,3 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
-
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 37335bd..fd6373b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'CSKY' in config.root.targets:
+if not "CSKY" in config.root.targets:
     config.unsupported = True
index f1b8b4f..2384de1 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index cc6a7ed..3bed54b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index a6c9632..1bd0862 100644 (file)
@@ -1 +1 @@
-config.suffixes = ['.mir']
+config.suffixes = [".mir"]
index 4ad9495..f19a7a9 100644 (file)
@@ -1,2 +1,2 @@
-if not 'MSP430' in config.root.targets:
+if not "MSP430" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index 2cb98eb..0d37b86 100644 (file)
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index d86c9e6..4f51286 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.targets:
     config.unsupported = True
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index 7434735..d5f39ab 100644 (file)
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index bb48713..26c8076 100644 (file)
@@ -1,2 +1,2 @@
-if not 'XCore' in config.root.targets:
+if not "XCore" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index a9f3860..f9127da 100644 (file)
@@ -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"]
index 20e19ae..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
-  config.unsupported = True
+if not "ARM" in config.root.targets:
+    config.unsupported = True
index 304f243..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
-  config.unsupported = True
+if not "AArch64" in config.root.targets:
+    config.unsupported = True
index a4b6c6f..cc24278 100644 (file)
@@ -1,2 +1,2 @@
-if not 'LoongArch' in config.root.targets:
-  config.unsupported = True
+if not "LoongArch" in config.root.targets:
+    config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index afde89b..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
-  config.unsupported = True
+if not "X86" in config.root.targets:
+    config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index e2535ef..b6874dd 100644 (file)
@@ -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
index 625d82d..5095d98 100644 (file)
@@ -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
index 3a3d23f..cbd7c54 100644 (file)
@@ -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
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index a4ab262..0fe841d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'BPF' in config.root.targets:
+if not "BPF" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index b00ef0d..59f7cdb 100644 (file)
@@ -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
index 9164f68..f9aa200 100644 (file)
@@ -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"))
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 1576fbe..d4da7c9 100644 (file)
@@ -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"
index 304f243..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
-  config.unsupported = True
+if not "AArch64" in config.root.targets:
+    config.unsupported = True
index 20e19ae..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
-  config.unsupported = True
+if not "ARM" in config.root.targets:
+    config.unsupported = True
index a6bb58c..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
-  config.unsupported = True
+if not "PowerPC" in config.root.targets:
+    config.unsupported = True
index afde89b..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
-  config.unsupported = True
+if not "X86" in config.root.targets:
+    config.unsupported = True
index afde89b..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
-  config.unsupported = True
+if not "X86" in config.root.targets:
+    config.unsupported = True
index 5822b72..f29a793 100644 (file)
@@ -1,2 +1,2 @@
-if 'AArch64' not in config.root.targets:
+if "AArch64" not in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 908656a..1724fb2 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AVR' in config.root.targets:
+if not "AVR" in config.root.targets:
     config.unsupported = True
index 5822b72..f29a793 100644 (file)
@@ -1,2 +1,2 @@
-if 'AArch64' not in config.root.targets:
+if "AArch64" not in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index a4ab262..0fe841d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'BPF' in config.root.targets:
+if not "BPF" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 03c0f9b..27d4276 100644 (file)
@@ -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")
index 37335bd..fd6373b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'CSKY' in config.root.targets:
+if not "CSKY" in config.root.targets:
     config.unsupported = True
index 5822b72..f29a793 100644 (file)
@@ -1,2 +1,2 @@
-if 'AArch64' not in config.root.targets:
+if "AArch64" not in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index fc3d380..efe5cc5 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARC' in config.root.targets:
+if not "ARC" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index cc6a7ed..3bed54b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
     config.unsupported = True
index f1b8b4f..2384de1 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
     config.unsupported = True
index a0faa52..dd33fe3 100644 (file)
@@ -1,2 +1,2 @@
-if not 'M68k' in config.root.targets:
+if not "M68k" in config.root.targets:
     config.unsupported = True
index 4ad9495..f19a7a9 100644 (file)
@@ -1,2 +1,2 @@
-if not 'MSP430' in config.root.targets:
+if not "MSP430" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index d86c9e6..4f51286 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.targets:
     config.unsupported = True
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index 7434735..d5f39ab 100644 (file)
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index bb48713..26c8076 100644 (file)
@@ -1,2 +1,2 @@
-if not 'XCore' in config.root.targets:
+if not "XCore" in config.root.targets:
     config.unsupported = True
index 67e2628..da10366 100644 (file)
@@ -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
index f6fbcfe..76ee1b2 100644 (file)
@@ -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
index d825cc0..9ff5aec 100644 (file)
@@ -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
index c029408..a3d2298 100644 (file)
@@ -1,2 +1,2 @@
-if 'RISCV' not in config.root.targets:
+if "RISCV" not in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index cc6a7ed..3bed54b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
     config.unsupported = True
index f1b8b4f..2384de1 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
     config.unsupported = True
index 2b5a489..cc24278 100644 (file)
@@ -1,2 +1,2 @@
-if not 'LoongArch' in config.root.targets:
+if not "LoongArch" in config.root.targets:
     config.unsupported = True
index a0faa52..dd33fe3 100644 (file)
@@ -1,2 +1,2 @@
-if not 'M68k' in config.root.targets:
+if not "M68k" in config.root.targets:
     config.unsupported = True
index 4ad9495..f19a7a9 100644 (file)
@@ -1,2 +1,2 @@
-if not 'MSP430' in config.root.targets:
+if not "MSP430" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index d86c9e6..4f51286 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.targets:
     config.unsupported = True
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index b636677..d52a71f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'VE' in config.root.targets:
+if not "VE" in config.root.targets:
     config.unsupported = True
index 0dd8c92..4d1c143 100644 (file)
@@ -1,2 +1,2 @@
-if 'WebAssembly' not in config.root.targets:
+if "WebAssembly" not in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 9e0be99..e81bfa7 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Xtensa' in config.root.targets:
+if not "Xtensa" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index a4ab262..0fe841d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'BPF' in config.root.targets:
+if not "BPF" in config.root.targets:
     config.unsupported = True
index f1b8b4f..2384de1 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 73913bb..2cdf3e7 100644 (file)
@@ -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
index dc21ca5..b0b9f3e 100644 (file)
@@ -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
index 9925c80..7ddbf6f 100644 (file)
@@ -1,2 +1,2 @@
-if not os.path.exists('/bin/cat'):
-  config.unsupported = True
+if not os.path.exists("/bin/cat"):
+    config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 1dbd83e..6d3ea55 100644 (file)
@@ -1,2 +1,2 @@
-config.suffixes = ['.td']
-config.excludes = ['Common']
+config.suffixes = [".td"]
+config.excludes = ["Common"]
index afde89b..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
-  config.unsupported = True
+if not "X86" in config.root.targets:
+    config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index a4ab262..0fe841d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'BPF' in config.root.targets:
+if not "BPF" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index ec718bb..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
-  config.unsupported = True
+if not "AMDGPU" in config.root.targets:
+    config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index cc6a7ed..3bed54b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
     config.unsupported = True
index 31902e0..356cb69 100644 (file)
@@ -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
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 7aaeda5..1bb680f 100644 (file)
@@ -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
index 9a34b65..4f51286 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
-  config.unsupported = True
+if not "Sparc" in config.root.targets:
+    config.unsupported = True
index afde89b..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
-  config.unsupported = True
+if not "X86" in config.root.targets:
+    config.unsupported = True
index c114693..58ee923 100644 (file)
@@ -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"))
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index 2cb98eb..0d37b86 100644 (file)
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index d86c9e6..4f51286 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 4a2fc15..1735174 100644 (file)
@@ -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
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 6642d28..f04a511 100644 (file)
@@ -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
index 4536d08..a3c44f6 100644 (file)
@@ -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
index b5b9899..a766b1a 100644 (file)
@@ -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
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index cec29af..10d4a0e 100644 (file)
@@ -1,3 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
-
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 2cb98eb..0d37b86 100644 (file)
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 2cb98eb..0d37b86 100644 (file)
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index a0661d3..e8c7912 100644 (file)
@@ -1,3 +1,3 @@
 import sys
 
-config.unsupported = sys.version_info.minor <= 8 
+config.unsupported = sys.version_info.minor <= 8
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 7434735..d5f39ab 100644 (file)
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index cc6a7ed..3bed54b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
     config.unsupported = True
index 2cb98eb..0d37b86 100644 (file)
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 304f243..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
-  config.unsupported = True
+if not "AArch64" in config.root.targets:
+    config.unsupported = True
index 20e19ae..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
-  config.unsupported = True
+if not "ARM" in config.root.targets:
+    config.unsupported = True
index f54903a..1735174 100644 (file)
@@ -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
index afde89b..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
-  config.unsupported = True
+if not "X86" in config.root.targets:
+    config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 2cb98eb..0d37b86 100644 (file)
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 675f48e..3cc47fd 100644 (file)
@@ -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
index 2b5a489..cc24278 100644 (file)
@@ -1,2 +1,2 @@
-if not 'LoongArch' in config.root.targets:
+if not "LoongArch" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index 675f48e..3cc47fd 100644 (file)
@@ -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
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 2cb98eb..0d37b86 100644 (file)
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index cc6a7ed..3bed54b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 7aaeda5..1bb680f 100644 (file)
@@ -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
index 7434735..d5f39ab 100644 (file)
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 675f48e..3cc47fd 100644 (file)
@@ -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
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index cc6a7ed..3bed54b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index d82490b..fb85f43 100644 (file)
@@ -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
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index 4449d2f..c7f949e 100644 (file)
@@ -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
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index bb48713..26c8076 100644 (file)
@@ -1,2 +1,2 @@
-if not 'XCore' in config.root.targets:
+if not "XCore" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 2cb98eb..0d37b86 100644 (file)
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index afde89b..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
-  config.unsupported = True
+if not "X86" in config.root.targets:
+    config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 2cb98eb..0d37b86 100644 (file)
@@ -1,2 +1,2 @@
-if not 'NVPTX' in config.root.targets:
+if not "NVPTX" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index 4449d2f..c7f949e 100644 (file)
@@ -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
index 7434735..d5f39ab 100644 (file)
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index bb48713..26c8076 100644 (file)
@@ -1,2 +1,2 @@
-if not 'XCore' in config.root.targets:
+if not "XCore" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 6642d28..f04a511 100644 (file)
@@ -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
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 5a3b856..57e774e 100644 (file)
@@ -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
index a1f0ecb..3e3a537 100644 (file)
@@ -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
index 683bfdc..3113ca5 100644 (file)
@@ -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
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 7aaeda5..1bb680f 100644 (file)
@@ -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
index d86c9e6..4f51286 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Sparc' in config.root.targets:
+if not "Sparc" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 516aae8..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
-       config.unsupported = True
+if not "X86" in config.root.targets:
+    config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index cc6a7ed..3bed54b 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Hexagon' in config.root.targets:
+if not "Hexagon" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 2b5a489..cc24278 100644 (file)
@@ -1,2 +1,2 @@
-if not 'LoongArch' in config.root.targets:
+if not "LoongArch" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index cdaf1b3..f8ab6b8 100644 (file)
@@ -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)
index 50d9aa9..13223e9 100644 (file)
@@ -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
index 60eb2b6..66bc43e 100644 (file)
@@ -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
index 60eb2b6..66bc43e 100644 (file)
@@ -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
index f6860f4..75a032d 100644 (file)
@@ -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
index aa8303b..d951f4f 100644 (file)
@@ -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"]
index 7424413..96ccdeb 100644 (file)
@@ -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"]
index e31f8f3..7b6819e 100644 (file)
@@ -1,3 +1,3 @@
 if not config.dxil_tests:
-  config.unsupported = True
-config.suffixes = ['.ll']
+    config.unsupported = True
+config.suffixes = [".ll"]
index d968938..f4de860 100644 (file)
@@ -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
index ddcd48c..fb38bbb 100644 (file)
@@ -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
index 7f1b613..a85cce5 100644 (file)
@@ -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
index 9dbf14b..2b9376e 100644 (file)
@@ -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
index 6d2835a..aa07261 100644 (file)
@@ -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
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 8b6fe62..4ca2e07 100644 (file)
@@ -1 +1 @@
-config.suffixes = ['.test', '.m', '.cpp', '.c', '.h']
+config.suffixes = [".test", ".m", ".cpp", ".c", ".h"]
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 940e462..2177169 100644 (file)
@@ -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")
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 5ea762c..0f1b1cc 100644 (file)
@@ -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"]
index 05f8b38..38cc3fe 100644 (file)
@@ -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"]
index c1c887b..55b3963 100644 (file)
@@ -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
index 9e3b402..220d306 100644 (file)
@@ -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
index 2fb4364..a33b69e 100644 (file)
@@ -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
index 7d6abe8..2389049 100644 (file)
@@ -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
index 22b0160..30ed138 100644 (file)
@@ -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")
index 8a995e3..8790875 100644 (file)
@@ -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
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 88631d5..77b8b56 100644 (file)
@@ -1 +1 @@
-config.suffixes = ['.ll', '.s', '.test', '.yaml', '.ifs']
+config.suffixes = [".ll", ".s", ".test", ".yaml", ".ifs"]
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index afde89b..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
-  config.unsupported = True
+if not "X86" in config.root.targets:
+    config.unsupported = True
index 00173ed..dfb1be4 100644 (file)
@@ -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
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 2f3cf7d..f9dd98a 100644 (file)
@@ -1,2 +1,2 @@
-if not 'SystemZ' in config.root.targets:
+if not "SystemZ" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index eb099c4..43b85ac 100644 (file)
@@ -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
index 39c93fc..e7b7d78 100644 (file)
@@ -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")
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 7434735..d5f39ab 100644 (file)
@@ -1,2 +1,2 @@
-if not 'WebAssembly' in config.root.targets:
+if not "WebAssembly" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 2a665f0..7c49242 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AMDGPU' in config.root.targets:
+if not "AMDGPU" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 78cc7b2..d2975c4 100644 (file)
@@ -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
index 2e12e26..a79c37a 100644 (file)
@@ -1,4 +1,4 @@
 import platform
 
-if not 'Lanai' in config.root.targets:
+if not "Lanai" in config.root.targets:
     config.unsupported = True
index 7d12f7a..b997811 100644 (file)
@@ -1,2 +1,2 @@
-if not 'Mips' in config.root.targets:
+if not "Mips" in config.root.targets:
     config.unsupported = True
index b775107..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
-      config.unsupported = True
+if not "PowerPC" in config.root.targets:
+    config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index c8625f4..42bf50d 100644 (file)
@@ -1,2 +1,2 @@
-if not 'X86' in config.root.targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 0dd8c92..4d1c143 100644 (file)
@@ -1,2 +1,2 @@
-if 'WebAssembly' not in config.root.targets:
+if "WebAssembly" not in config.root.targets:
     config.unsupported = True
index 5f1f826..007f55d 100644 (file)
@@ -1,2 +1,2 @@
 if config.have_dia_sdk:
-  config.available_features.add("diasdk")
+    config.available_features.add("diasdk")
index 197150e..c628a80 100644 (file)
@@ -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
index 7184443..10d4a0e 100644 (file)
@@ -1,2 +1,2 @@
-if not 'AArch64' in config.root.targets:
+if not "AArch64" in config.root.targets:
     config.unsupported = True
index 236e1d3..7c23e4f 100644 (file)
@@ -1,2 +1,2 @@
-if not 'ARM' in config.root.targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 4ad9495..f19a7a9 100644 (file)
@@ -1,2 +1,2 @@
-if not 'MSP430' in config.root.targets:
+if not "MSP430" in config.root.targets:
     config.unsupported = True
index c638201..1735174 100644 (file)
@@ -1,2 +1,2 @@
-if not 'RISCV' in config.root.targets:
+if not "RISCV" in config.root.targets:
     config.unsupported = True
index 0913324..bb98248 100644 (file)
@@ -1,2 +1,2 @@
-if not 'PowerPC' in config.root.targets:
+if not "PowerPC" in config.root.targets:
     config.unsupported = True
index 5ca293b..d9769af 100644 (file)
@@ -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"
index 90f09fe..d181a93 100644 (file)
@@ -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
index 456c28b..e52b44e 100644 (file)
@@ -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
index 631cb60..8c60bb7 100644 (file)
@@ -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")