summaryrefslogtreecommitdiff
path: root/test/Transforms/InstSimplify
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
commita6542923b8ad94d791a12d3d5ae3e62a611f0383 (patch)
tree39b262594c75aec6fa0957002f7be45d09080c7f /test/Transforms/InstSimplify
parent979aff6399a79d155e98bbbe064f4a183a237f23 (diff)
downloadllvm-a6542923b8ad94d791a12d3d5ae3e62a611f0383.tar.gz
llvm-a6542923b8ad94d791a12d3d5ae3e62a611f0383.tar.bz2
llvm-a6542923b8ad94d791a12d3d5ae3e62a611f0383.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstSimplify')
-rw-r--r--test/Transforms/InstSimplify/vector_gep.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstSimplify/vector_gep.ll b/test/Transforms/InstSimplify/vector_gep.ll
index f65260e00f..5ac1ddef64 100644
--- a/test/Transforms/InstSimplify/vector_gep.ll
+++ b/test/Transforms/InstSimplify/vector_gep.ll
@@ -1,4 +1,4 @@
-;RUN: opt -instsimplify %s -disable-output
+;RUN: opt -instsimplify -disable-output < %s
declare void @helper(<2 x i8*>)
define void @test(<2 x i8*> %a) {
%A = getelementptr <2 x i8*> %a, <2 x i32> <i32 0, i32 0>