aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/LoopIdiom
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/LoopIdiom')
-rw-r--r--test/Transforms/LoopIdiom/X86/lit.local.cfg6
-rw-r--r--test/Transforms/LoopIdiom/X86/popcnt.ll (renamed from test/Transforms/LoopIdiom/popcnt.ll)0
2 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/LoopIdiom/X86/lit.local.cfg b/test/Transforms/LoopIdiom/X86/lit.local.cfg
new file mode 100644
index 0000000000..a8ad0f1a28
--- /dev/null
+++ b/test/Transforms/LoopIdiom/X86/lit.local.cfg
@@ -0,0 +1,6 @@
+config.suffixes = ['.ll', '.c', '.cpp']
+
+targets = set(config.root.targets_to_build.split())
+if not 'X86' in targets:
+ config.unsupported = True
+
diff --git a/test/Transforms/LoopIdiom/popcnt.ll b/test/Transforms/LoopIdiom/X86/popcnt.ll
index 039af8024d..039af8024d 100644
--- a/test/Transforms/LoopIdiom/popcnt.ll
+++ b/test/Transforms/LoopIdiom/X86/popcnt.ll