diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-12-30 02:33:22 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-12-30 02:33:22 +0000 |
commit | a6542923b8ad94d791a12d3d5ae3e62a611f0383 (patch) | |
tree | 39b262594c75aec6fa0957002f7be45d09080c7f /test/Feature | |
parent | 979aff6399a79d155e98bbbe064f4a183a237f23 (diff) | |
download | llvm-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/Feature')
-rw-r--r-- | test/Feature/global_pv.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Feature/global_pv.ll b/test/Feature/global_pv.ll index d257ec077a..34b9a7df88 100644 --- a/test/Feature/global_pv.ll +++ b/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 |