From 56bf2e1830c820ea9fd8e1db2b33874cd0f4ab85 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Sun, 30 Dec 2012 02:33:22 +0000 Subject: 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 --- llvm/test/Feature/global_pv.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/Feature') diff --git a/llvm/test/Feature/global_pv.ll b/llvm/test/Feature/global_pv.ll index d257ec077ab..34b9a7df882 100644 --- a/llvm/test/Feature/global_pv.ll +++ b/llvm/test/Feature/global_pv.ll @@ -1,5 +1,5 @@ -; RUN: opt -instcombine -S -o - %s | llvm-as -; RUN: opt -instcombine -globalopt -S -o - %s | llvm-as +; RUN: opt -instcombine -S < %s | llvm-as +; RUN: opt -instcombine -globalopt -S < %s | llvm-as @G1 = global i32 zeroinitializer @G2 = global i32 zeroinitializer @g = global <2 x i32*> zeroinitializer -- cgit v1.2.3