summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/Transforms/LoopVectorize/2012-10-22-isconsec.ll2
-rw-r--r--llvm/test/Transforms/LoopVectorize/X86/cost-model.ll (renamed from llvm/test/Transforms/LoopVectorize/cost-model.ll)0
-rw-r--r--llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg6
3 files changed, 7 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/2012-10-22-isconsec.ll b/llvm/test/Transforms/LoopVectorize/2012-10-22-isconsec.ll
index 12e8e55983e..2516e248bc9 100644
--- a/llvm/test/Transforms/LoopVectorize/2012-10-22-isconsec.ll
+++ b/llvm/test/Transforms/LoopVectorize/2012-10-22-isconsec.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loop-vectorize -dce
+; RUN: opt < %s -loop-vectorize -dce -force-vector-width=4
; Check that we don't crash.
diff --git a/llvm/test/Transforms/LoopVectorize/cost-model.ll b/llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
index 628f9912c8c..628f9912c8c 100644
--- a/llvm/test/Transforms/LoopVectorize/cost-model.ll
+++ b/llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
diff --git a/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg b/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg
new file mode 100644
index 00000000000..a8ad0f1a28b
--- /dev/null
+++ b/llvm/test/Transforms/LoopVectorize/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
+
OpenPOWER on IntegriCloud