summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-09 22:42:55 +0000
committerAlp Toker <alp@nuanti.com>2014-06-09 22:42:55 +0000
commitd3d017cf00714c7d376a3cf87d2a17002e12cac7 (patch)
treeb8403ec0231bf6ccb16b84428152b17d67193094 /llvm/test/CodeGen
parent669fc86ed0a421b8931e0bde5d41ece76e29a740 (diff)
downloadbcm5719-llvm-d3d017cf00714c7d376a3cf87d2a17002e12cac7.tar.gz
bcm5719-llvm-d3d017cf00714c7d376a3cf87d2a17002e12cac7.zip
Reduce verbiage of lit.local.cfg files
We can just split targets_to_build in one place and make it immutable. llvm-svn: 210496
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/AArch64/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/ARM/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/CPP/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/Hexagon/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/MSP430/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/Mips/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/NVPTX/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/PowerPC/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/R600/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/SPARC/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/SystemZ/Large/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/SystemZ/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/Thumb/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/Thumb2/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/X86/GC/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/X86/lit.local.cfg3
-rw-r--r--llvm/test/CodeGen/XCore/lit.local.cfg3
17 files changed, 17 insertions, 34 deletions
diff --git a/llvm/test/CodeGen/AArch64/lit.local.cfg b/llvm/test/CodeGen/AArch64/lit.local.cfg
index 77493d88b2a..125995cebf1 100644
--- a/llvm/test/CodeGen/AArch64/lit.local.cfg
+++ b/llvm/test/CodeGen/AArch64/lit.local.cfg
@@ -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.
diff --git a/llvm/test/CodeGen/ARM/lit.local.cfg b/llvm/test/CodeGen/ARM/lit.local.cfg
index 8a3ba96497e..98c6700c209 100644
--- a/llvm/test/CodeGen/ARM/lit.local.cfg
+++ b/llvm/test/CodeGen/ARM/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/CPP/lit.local.cfg b/llvm/test/CodeGen/CPP/lit.local.cfg
index 4063dd1b861..3ff5c6b6973 100644
--- a/llvm/test/CodeGen/CPP/lit.local.cfg
+++ b/llvm/test/CodeGen/CPP/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/Hexagon/lit.local.cfg b/llvm/test/CodeGen/Hexagon/lit.local.cfg
index e96bab818a3..ba72ff632d4 100644
--- a/llvm/test/CodeGen/Hexagon/lit.local.cfg
+++ b/llvm/test/CodeGen/Hexagon/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/MSP430/lit.local.cfg b/llvm/test/CodeGen/MSP430/lit.local.cfg
index a18fe6f927d..b1cf1fbd21d 100644
--- a/llvm/test/CodeGen/MSP430/lit.local.cfg
+++ b/llvm/test/CodeGen/MSP430/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/Mips/lit.local.cfg b/llvm/test/CodeGen/Mips/lit.local.cfg
index 1fa54b428cd..a3183a25afa 100644
--- a/llvm/test/CodeGen/Mips/lit.local.cfg
+++ b/llvm/test/CodeGen/Mips/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/NVPTX/lit.local.cfg b/llvm/test/CodeGen/NVPTX/lit.local.cfg
index 85cf8c2c8c0..2cb98eb371b 100644
--- a/llvm/test/CodeGen/NVPTX/lit.local.cfg
+++ b/llvm/test/CodeGen/NVPTX/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/PowerPC/lit.local.cfg b/llvm/test/CodeGen/PowerPC/lit.local.cfg
index 2e463005586..5d33887ff0a 100644
--- a/llvm/test/CodeGen/PowerPC/lit.local.cfg
+++ b/llvm/test/CodeGen/PowerPC/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/R600/lit.local.cfg b/llvm/test/CodeGen/R600/lit.local.cfg
index 2d8930ad0e8..ad9ce2541ef 100644
--- a/llvm/test/CodeGen/R600/lit.local.cfg
+++ b/llvm/test/CodeGen/R600/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/SPARC/lit.local.cfg b/llvm/test/CodeGen/SPARC/lit.local.cfg
index 4d344fa91a9..fa6a54e5013 100644
--- a/llvm/test/CodeGen/SPARC/lit.local.cfg
+++ b/llvm/test/CodeGen/SPARC/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg b/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg
index 9a02f849c34..4f22a970c3a 100644
--- a/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg
+++ b/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/SystemZ/lit.local.cfg b/llvm/test/CodeGen/SystemZ/lit.local.cfg
index b12af09434b..5c02dd3614a 100644
--- a/llvm/test/CodeGen/SystemZ/lit.local.cfg
+++ b/llvm/test/CodeGen/SystemZ/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/Thumb/lit.local.cfg b/llvm/test/CodeGen/Thumb/lit.local.cfg
index 8a3ba96497e..98c6700c209 100644
--- a/llvm/test/CodeGen/Thumb/lit.local.cfg
+++ b/llvm/test/CodeGen/Thumb/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/Thumb2/lit.local.cfg b/llvm/test/CodeGen/Thumb2/lit.local.cfg
index 8a3ba96497e..98c6700c209 100644
--- a/llvm/test/CodeGen/Thumb2/lit.local.cfg
+++ b/llvm/test/CodeGen/Thumb2/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/X86/GC/lit.local.cfg b/llvm/test/CodeGen/X86/GC/lit.local.cfg
index ba763cf03ff..e71f3cc4c41 100644
--- a/llvm/test/CodeGen/X86/GC/lit.local.cfg
+++ b/llvm/test/CodeGen/X86/GC/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/X86/lit.local.cfg b/llvm/test/CodeGen/X86/lit.local.cfg
index 3d91b03d609..8ed58f119c4 100644
--- a/llvm/test/CodeGen/X86/lit.local.cfg
+++ b/llvm/test/CodeGen/X86/lit.local.cfg
@@ -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
diff --git a/llvm/test/CodeGen/XCore/lit.local.cfg b/llvm/test/CodeGen/XCore/lit.local.cfg
index 3e84c1befea..0b947bbbb85 100644
--- a/llvm/test/CodeGen/XCore/lit.local.cfg
+++ b/llvm/test/CodeGen/XCore/lit.local.cfg
@@ -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
OpenPOWER on IntegriCloud