Reduce verbiage of lit.local.cfg files
authorAlp Toker <alp@nuanti.com>
Mon, 9 Jun 2014 22:42:55 +0000 (22:42 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 9 Jun 2014 22:42:55 +0000 (22:42 +0000)
We can just split targets_to_build in one place and make it immutable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210496 91177308-0d34-0410-b5e6-96231b3b80d8

94 files changed:
docs/TestingGuide.rst
test/Analysis/CostModel/AArch64/lit.local.cfg
test/Analysis/CostModel/ARM/lit.local.cfg
test/Analysis/CostModel/PowerPC/lit.local.cfg
test/Analysis/CostModel/X86/lit.local.cfg
test/Bindings/llvm-c/lit.local.cfg
test/CodeGen/AArch64/lit.local.cfg
test/CodeGen/ARM/lit.local.cfg
test/CodeGen/CPP/lit.local.cfg
test/CodeGen/Hexagon/lit.local.cfg
test/CodeGen/MSP430/lit.local.cfg
test/CodeGen/Mips/lit.local.cfg
test/CodeGen/NVPTX/lit.local.cfg
test/CodeGen/PowerPC/lit.local.cfg
test/CodeGen/R600/lit.local.cfg
test/CodeGen/SPARC/lit.local.cfg
test/CodeGen/SystemZ/Large/lit.local.cfg
test/CodeGen/SystemZ/lit.local.cfg
test/CodeGen/Thumb/lit.local.cfg
test/CodeGen/Thumb2/lit.local.cfg
test/CodeGen/X86/GC/lit.local.cfg
test/CodeGen/X86/lit.local.cfg
test/CodeGen/XCore/lit.local.cfg
test/DebugInfo/AArch64/lit.local.cfg
test/DebugInfo/ARM/lit.local.cfg
test/DebugInfo/COFF/lit.local.cfg
test/DebugInfo/Mips/lit.local.cfg
test/DebugInfo/PowerPC/lit.local.cfg
test/DebugInfo/Sparc/lit.local.cfg
test/DebugInfo/SystemZ/lit.local.cfg
test/DebugInfo/X86/lit.local.cfg
test/ExecutionEngine/MCJIT/lit.local.cfg
test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
test/LTO/lit.local.cfg
test/MC/AArch64/lit.local.cfg
test/MC/ARM/AlignedBundling/lit.local.cfg
test/MC/ARM/lit.local.cfg
test/MC/AsmParser/lit.local.cfg
test/MC/COFF/lit.local.cfg
test/MC/Disassembler/AArch64/lit.local.cfg
test/MC/Disassembler/ARM/lit.local.cfg
test/MC/Disassembler/Mips/lit.local.cfg
test/MC/Disassembler/PowerPC/lit.local.cfg
test/MC/Disassembler/Sparc/lit.local.cfg
test/MC/Disassembler/SystemZ/lit.local.cfg
test/MC/Disassembler/X86/lit.local.cfg
test/MC/Disassembler/XCore/lit.local.cfg
test/MC/ELF/ARM/lit.local.cfg
test/MC/ELF/lit.local.cfg
test/MC/MachO/AArch64/lit.local.cfg
test/MC/MachO/ARM/lit.local.cfg
test/MC/MachO/lit.local.cfg
test/MC/Mips/lit.local.cfg
test/MC/PowerPC/lit.local.cfg
test/MC/Sparc/lit.local.cfg
test/MC/SystemZ/lit.local.cfg
test/MC/X86/AlignedBundling/lit.local.cfg
test/MC/X86/lit.local.cfg
test/Object/ARM/lit.local.cfg
test/Object/Mips/lit.local.cfg
test/Object/X86/lit.local.cfg
test/Other/X86/lit.local.cfg
test/Transforms/AtomicExpandLoadLinked/ARM/lit.local.cfg
test/Transforms/BBVectorize/lit.local.cfg
test/Transforms/CodeGenPrepare/X86/lit.local.cfg
test/Transforms/ConstantHoisting/AArch64/lit.local.cfg
test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg
test/Transforms/ConstantHoisting/X86/lit.local.cfg
test/Transforms/GlobalMerge/AArch64/lit.local.cfg
test/Transforms/GlobalMerge/ARM/lit.local.cfg
test/Transforms/LoopIdiom/X86/lit.local.cfg
test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg
test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg
test/Transforms/LoopStrengthReduce/X86/lit.local.cfg
test/Transforms/LoopUnroll/PowerPC/lit.local.cfg
test/Transforms/LoopUnroll/X86/lit.local.cfg
test/Transforms/LoopVectorize/AArch64/lit.local.cfg
test/Transforms/LoopVectorize/ARM/lit.local.cfg
test/Transforms/LoopVectorize/PowerPC/lit.local.cfg
test/Transforms/LoopVectorize/X86/lit.local.cfg
test/Transforms/LoopVectorize/XCore/lit.local.cfg
test/Transforms/SLPVectorizer/AArch64/lit.local.cfg
test/Transforms/SLPVectorizer/ARM/lit.local.cfg
test/Transforms/SLPVectorizer/R600/lit.local.cfg
test/Transforms/SLPVectorizer/X86/lit.local.cfg
test/Transforms/SLPVectorizer/XCore/lit.local.cfg
test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg
test/Transforms/SimplifyCFG/SPARC/lit.local.cfg
test/Transforms/SimplifyCFG/X86/lit.local.cfg
test/Transforms/TailDup/X86/lit.local.cfg
test/Transforms/TailDup/lit.local.cfg
test/lit.cfg
test/tools/llvm-objdump/lit.local.cfg
test/tools/llvm-readobj/ARM/lit.local.cfg

index f9222372c2afd6c5bc9bd622d74f024d60a06643..481be55b576b89e7f67ca71631fa07d20ccc618b 100644 (file)
@@ -304,8 +304,7 @@ For instance, on ``test/CodeGen/ARM``, the ``lit.local.cfg`` is:
 .. code-block:: python
 
   config.suffixes = ['.ll', '.c', '.cpp', '.test']
-  targets = set(config.root.targets_to_build.split())
-  if not 'ARM' in targets:
+  if not 'ARM' in config.root.targets:
     config.unsupported = True
 
 Other platform-specific tests are those that depend on a specific feature
index c42034979fcfebc852d2fa42f0e447644157d130..7184443994b693b0fab6e8baecfbb0f65f66f080 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
     config.unsupported = True
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index 2e463005586fceef2df7b17084f95d29e244c0b1..5d33887ff0a48809f94f35bb339934d932606be4 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index d83ebeed8e1cadc97cb2de697f5dd90cdfb3c4a5..75b22c06fb2f2e7b35888db1c00f0b4737c98b45 100644 (file)
@@ -1,5 +1,4 @@
-targets = set(config.root.targets_to_build.split())
-if not "X86" in targets:
+if not "X86" in config.root.targets:
     config.unsupported = True
-if not "ARM" in targets:
+if not "ARM" in config.root.targets:
     config.unsupported = True
index 77493d88b2aa0ee6686cc369503c4e9fadf62378..125995cebf11fa06944aacbe71a20c4cc5e3d4fa 100644 (file)
@@ -2,8 +2,7 @@ import re
 
 config.suffixes = ['.ll']
 
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
     config.unsupported = True
 
 # For now we don't test arm64-win32.
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index 4063dd1b8612ba600330b080301996bf8f6449dd..3ff5c6b69737088cb279abc0a3f6448d486fd2c3 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'CppBackend' in targets:
+if not 'CppBackend' in config.root.targets:
     config.unsupported = True
 
index e96bab818a3c84bb1cf83cb88bfd9e2ba4c1b595..ba72ff632d4e68ec264aa15cd910b2aa727edb92 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Hexagon' in targets:
+if not 'Hexagon' in config.root.targets:
     config.unsupported = True
 
index a18fe6f927d8804af6a1004f43b3bfc61f582b32..b1cf1fbd21d7ee7ae521ccfd5f431cd2a7d200d6 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'MSP430' in targets:
+if not 'MSP430' in config.root.targets:
     config.unsupported = True
 
index 1fa54b428cd97710d4ce5254475e5e5fefc01f61..a3183a25afaa9d7cda45a83cfc6f7adc91ef2eb7 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Mips' in targets:
+if not 'Mips' in config.root.targets:
     config.unsupported = True
 
index 85cf8c2c8c0705bbe5a9fa470ba3fccc0e0b5e82..2cb98eb371b21bc47c99d369adaffefd84d4a625 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'NVPTX' in targets:
+if not 'NVPTX' in config.root.targets:
     config.unsupported = True
index 2e463005586fceef2df7b17084f95d29e244c0b1..5d33887ff0a48809f94f35bb339934d932606be4 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
     config.unsupported = True
 
index 2d8930ad0e88cb091229cfc035dae572f5f606ce..ad9ce2541ef7b7ea796a68e95d73e031168f0023 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'R600' in targets:
+if not 'R600' in config.root.targets:
     config.unsupported = True
index 4d344fa91a9ea75d17bcc0e55beecfc9915fe29a..fa6a54e501322db0a05909ca4ef0633e789852c3 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Sparc' in targets:
+if not 'Sparc' in config.root.targets:
     config.unsupported = True
 
index 9a02f849c347821b2e67fb1dc2e1e95e6242dfd4..4f22a970c3a6e93c5b790440862e09e564927d8e 100644 (file)
@@ -5,6 +5,5 @@ config.suffixes = ['.py']
 if config.root.host_arch not in ['SystemZ']:
     config.unsupported = True
 
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
     config.unsupported = True
index b12af09434beaac3dfb7a08a7de0a0eec70ccc0c..5c02dd3614a492fd2e14ddb54e4756c07db05a51 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
     config.unsupported = True
 
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 3d91b03d609dbfa5afede19ff5ed5553d418c149..8ed58f119c4fb6033255976f1b9e124a81419620 100644 (file)
@@ -6,7 +6,6 @@
 # cleanly.
 config.suffixes = ['.ll', '.test', '.txt']
 
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 3e84c1befeab2dce33687d03f0a98bbc68ca53ed..0b947bbbb85082ac548ab1854d4b3a01806807bc 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'XCore' in targets:
+if not 'XCore' in config.root.targets:
     config.unsupported = True
 
index 9a66a00189eacfe2890dcf3443876ea2c35118ca..cec29af5bbe478d6037c442d59b3d6e5cfee1dc5 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
     config.unsupported = True
 
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index 19840aa7574c5cc67795c6acfa928bb33513de0f..c8625f4d9d2487b356b714f312ff24037685d7cf 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
index 88262fb1d3232872524bcd00617fad449e6aaf7d..7d12f7a9c56494e6f3844dfad349aad958e933a0 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Mips' in targets:
+if not 'Mips' in config.root.targets:
     config.unsupported = True
index 193ebebcd50eea3defa84d6a11b071d25a477f33..091332439b186719ce70be1df6973b9bd6f14c51 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
     config.unsupported = True
index e4cee974dec31c303269ef8c505e993b5c85c254..d86c9e6d943aa093faf740c7e6da4e61d691b443 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Sparc' in targets:
+if not 'Sparc' in config.root.targets:
     config.unsupported = True
index b12af09434beaac3dfb7a08a7de0a0eec70ccc0c..5c02dd3614a492fd2e14ddb54e4756c07db05a51 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
     config.unsupported = True
 
index 19840aa7574c5cc67795c6acfa928bb33513de0f..c8625f4d9d2487b356b714f312ff24037685d7cf 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
index 5dc749da24eb19be99ba1ec349d52fa099903bdc..f9814035773640b88f8d4008f56fff7f2c5fe12f 100644 (file)
@@ -1,5 +1,5 @@
 root = config.root
-targets = set(root.targets_to_build.split())
+targets = root.targets
 if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
    ('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets):
     config.unsupported = False
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 6df0e03ee648809280c9cb1fae49b3f59fe3812b..afde89be896d46f65bc90ca8828802c63affec39 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
   config.unsupported = True
index 1be70c04415bca64adbed96ffd753e3cb641bb29..5822b72266874f012f161d6aaef5962644d37c4b 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if 'AArch64' not in targets:
+if 'AArch64' not in config.root.targets:
     config.unsupported = True
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 2c423d139bb075720b7ab09c9d305323b7cde19a..180bb8a77f11501475b3b49d0b6da0384725d298 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if 'AArch64' not in targets:
+if 'AArch64' not in config.root.targets:
     config.unsupported = True
 
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index 1fa54b428cd97710d4ce5254475e5e5fefc01f61..a3183a25afaa9d7cda45a83cfc6f7adc91ef2eb7 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Mips' in targets:
+if not 'Mips' in config.root.targets:
     config.unsupported = True
 
index 2e463005586fceef2df7b17084f95d29e244c0b1..5d33887ff0a48809f94f35bb339934d932606be4 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
     config.unsupported = True
 
index 4d344fa91a9ea75d17bcc0e55beecfc9915fe29a..fa6a54e501322db0a05909ca4ef0633e789852c3 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Sparc' in targets:
+if not 'Sparc' in config.root.targets:
     config.unsupported = True
 
index b12af09434beaac3dfb7a08a7de0a0eec70ccc0c..5c02dd3614a492fd2e14ddb54e4756c07db05a51 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 4d17d464204559c0d647b9cd3791a9032e66f67d..bb48713fe33e2829888e5f9fa364ffea328161f0 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'XCore' in targets:
+if not 'XCore' in config.root.targets:
     config.unsupported = True
index 8407bb738f332613b836faa106889354591abd19..d825cc04bf379ec164c455646dadc1aa76a76f81 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
 # We have to reset config.unsupported here because the parent directory is
 # predicated on 'X86'.
-config.unsupported = not 'ARM' in targets
+config.unsupported = not 'ARM' in config.root.targets
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 9a66a00189eacfe2890dcf3443876ea2c35118ca..cec29af5bbe478d6037c442d59b3d6e5cfee1dc5 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
     config.unsupported = True
 
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 1fa54b428cd97710d4ce5254475e5e5fefc01f61..a3183a25afaa9d7cda45a83cfc6f7adc91ef2eb7 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Mips' in targets:
+if not 'Mips' in config.root.targets:
     config.unsupported = True
 
index 193ebebcd50eea3defa84d6a11b071d25a477f33..091332439b186719ce70be1df6973b9bd6f14c51 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
     config.unsupported = True
index 4d344fa91a9ea75d17bcc0e55beecfc9915fe29a..fa6a54e501322db0a05909ca4ef0633e789852c3 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Sparc' in targets:
+if not 'Sparc' in config.root.targets:
     config.unsupported = True
 
index b12af09434beaac3dfb7a08a7de0a0eec70ccc0c..5c02dd3614a492fd2e14ddb54e4756c07db05a51 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'SystemZ' in targets:
+if not 'SystemZ' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 19840aa7574c5cc67795c6acfa928bb33513de0f..c8625f4d9d2487b356b714f312ff24037685d7cf 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
index 5fc35d80541d7d1109c61b92e57c7367a182d49d..236e1d34416659068d4434bd878989a4165d35c4 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
index 88262fb1d3232872524bcd00617fad449e6aaf7d..7d12f7a9c56494e6f3844dfad349aad958e933a0 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Mips' in targets:
+if not 'Mips' in config.root.targets:
     config.unsupported = True
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index c42034979fcfebc852d2fa42f0e447644157d130..7184443994b693b0fab6e8baecfbb0f65f66f080 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
     config.unsupported = True
index 2e463005586fceef2df7b17084f95d29e244c0b1..5d33887ff0a48809f94f35bb339934d932606be4 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 9a66a00189eacfe2890dcf3443876ea2c35118ca..cec29af5bbe478d6037c442d59b3d6e5cfee1dc5 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
     config.unsupported = True
 
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 6642d287068052da5f1adc2475b91564f59c4e69..675f48e199a055af4cba90e3ec747b902458b0c9 100644 (file)
@@ -1,5 +1,4 @@
 config.suffixes = ['.ll']
 
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
     config.unsupported = True
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 2e463005586fceef2df7b17084f95d29e244c0b1..5d33887ff0a48809f94f35bb339934d932606be4 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index a24a72819c35ff99bc457e5cb57625fa50c4ba42..937cffb2c1190c81bd8c76155b802413caf4f59e 100644 (file)
@@ -1,6 +1,5 @@
 config.suffixes = ['.ll']
 
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
     config.unsupported = True
 
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
 
index 2e463005586fceef2df7b17084f95d29e244c0b1..5d33887ff0a48809f94f35bb339934d932606be4 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'PowerPC' in targets:
+if not 'PowerPC' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 4d17d464204559c0d647b9cd3791a9032e66f67d..bb48713fe33e2829888e5f9fa364ffea328161f0 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'XCore' in targets:
+if not 'XCore' in config.root.targets:
     config.unsupported = True
index c42034979fcfebc852d2fa42f0e447644157d130..7184443994b693b0fab6e8baecfbb0f65f66f080 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'AArch64' in targets:
+if not 'AArch64' in config.root.targets:
     config.unsupported = True
index 5fc35d80541d7d1109c61b92e57c7367a182d49d..236e1d34416659068d4434bd878989a4165d35c4 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True
index 9e0ab99235e0254cb23cbc43b534f472b9f0738e..4086e8d681c38f234689f7d4a480484f4d48adb6 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'R600' in targets:
+if not 'R600' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 4d17d464204559c0d647b9cd3791a9032e66f67d..bb48713fe33e2829888e5f9fa364ffea328161f0 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'XCore' in targets:
+if not 'XCore' in config.root.targets:
     config.unsupported = True
index 40532cdaa20be6bcebabb838adf3322c0013aa00..a5e90f8e3c1de1d09ffe9c350a9bcf810c62ab11 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'NVPTX' in targets:
+if not 'NVPTX' in config.root.targets:
     config.unsupported = True
 
index 4d344fa91a9ea75d17bcc0e55beecfc9915fe29a..fa6a54e501322db0a05909ca4ef0633e789852c3 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'Sparc' in targets:
+if not 'Sparc' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index ba763cf03ffcc4a996faa124289303f10f41eeba..e71f3cc4c41e708fa77255cb5ac82eb42037e31c 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
 
index 19840aa7574c5cc67795c6acfa928bb33513de0f..c8625f4d9d2487b356b714f312ff24037685d7cf 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
index 2815a61950b26aa524bc6f716d08c7cf257dd594..cae708baf07727eaf188d44a1fd26633aa9a75f0 100644 (file)
@@ -265,6 +265,10 @@ for pattern in [r"\bbugpoint\b(?!-)",
         tool_path = llvm_tools_dir + '/' + tool_name
     config.substitutions.append((pattern, tool_pipe + tool_path))
 
+### Targets
+
+config.targets = frozenset(config.targets_to_build.split())
+
 ### Features
 
 # Shell execution
index 19840aa7574c5cc67795c6acfa928bb33513de0f..c8625f4d9d2487b356b714f312ff24037685d7cf 100644 (file)
@@ -1,3 +1,2 @@
-targets = set(config.root.targets_to_build.split())
-if not 'X86' in targets:
+if not 'X86' in config.root.targets:
     config.unsupported = True
index 8a3ba96497e7dd32f48c04ea49c65c98da885221..98c6700c209d737fc18968c4c484cf2c716f4f1b 100644 (file)
@@ -1,4 +1,3 @@
-targets = set(config.root.targets_to_build.split())
-if not 'ARM' in targets:
+if not 'ARM' in config.root.targets:
     config.unsupported = True