summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-12-30 02:33:22 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-12-30 02:33:22 +0000
commit56bf2e1830c820ea9fd8e1db2b33874cd0f4ab85 (patch)
tree3fe7ea16b99e2ee08faad592d0b26ae363d1c729 /llvm/test/CodeGen
parent3a554ac06501cf7175ee8d9f94aaa6140e9dd46e (diff)
downloadbcm5719-llvm-56bf2e1830c820ea9fd8e1db2b33874cd0f4ab85.tar.gz
bcm5719-llvm-56bf2e1830c820ea9fd8e1db2b33874cd0f4ab85.zip
Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID
This is done to avoid odd test failures, like the one fixed in r171243. llvm-svn: 171250
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/pointer-vector.ll2
-rw-r--r--llvm/test/CodeGen/X86/vector-gep.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/pointer-vector.ll b/llvm/test/CodeGen/X86/pointer-vector.ll
index 58423d19596..0ee99875264 100644
--- a/llvm/test/CodeGen/X86/pointer-vector.ll
+++ b/llvm/test/CodeGen/X86/pointer-vector.ll
@@ -1,5 +1,5 @@
; RUN: llc < %s -mtriple=i686-linux -mcpu=corei7 | FileCheck %s
-; RUN: opt -instsimplify %s -disable-output
+; RUN: opt -instsimplify -disable-output < %s
;CHECK: SHUFF0
define <8 x i32*> @SHUFF0(<4 x i32*> %ptrv) nounwind {
diff --git a/llvm/test/CodeGen/X86/vector-gep.ll b/llvm/test/CodeGen/X86/vector-gep.ll
index 3476e36c646..d08e2a07469 100644
--- a/llvm/test/CodeGen/X86/vector-gep.ll
+++ b/llvm/test/CodeGen/X86/vector-gep.ll
@@ -1,5 +1,5 @@
; RUN: llc < %s -march=x86 -mcpu=corei7-avx | FileCheck %s
-; RUN: opt -instsimplify %s -disable-output
+; RUN: opt -instsimplify -disable-output < %s
;CHECK: AGEP0:
define <4 x i32*> @AGEP0(i32* %ptr) nounwind {
OpenPOWER on IntegriCloud