diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-12-30 01:28:40 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-12-30 01:28:40 +0000 |
commit | b4912b9dccd7250c372a40ba0734171c6b0f5e9b (patch) | |
tree | b0ff409c12c024893344d7c18a2e12c7598540c4 /test/Transforms/ConstantMerge/unnamed-addr.ll | |
parent | 435654b18135bb5482a029bf359c4c2c7a5c2816 (diff) | |
download | external_llvm-b4912b9dccd7250c372a40ba0734171c6b0f5e9b.zip external_llvm-b4912b9dccd7250c372a40ba0734171c6b0f5e9b.tar.gz external_llvm-b4912b9dccd7250c372a40ba0734171c6b0f5e9b.tar.bz2 |
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@171246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/ConstantMerge/unnamed-addr.ll')
-rw-r--r-- | test/Transforms/ConstantMerge/unnamed-addr.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/ConstantMerge/unnamed-addr.ll b/test/Transforms/ConstantMerge/unnamed-addr.ll index 2410083..aff8540 100644 --- a/test/Transforms/ConstantMerge/unnamed-addr.ll +++ b/test/Transforms/ConstantMerge/unnamed-addr.ll @@ -1,4 +1,4 @@ -; RUN: opt -constmerge %s -S -o - | FileCheck %s +; RUN: opt -constmerge -S < %s | FileCheck %s ; Test which corresponding x and y are merged and that unnamed_addr ; is correctly set. |