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/SimplifyCFG | |
parent | 435654b18135bb5482a029bf359c4c2c7a5c2816 (diff) | |
download | llvm-b4912b9dccd7250c372a40ba0734171c6b0f5e9b.tar.gz llvm-b4912b9dccd7250c372a40ba0734171c6b0f5e9b.tar.bz2 llvm-b4912b9dccd7250c372a40ba0734171c6b0f5e9b.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@171246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyCFG')
-rw-r--r-- | test/Transforms/SimplifyCFG/branch-fold-dbg.ll | 2 | ||||
-rw-r--r-- | test/Transforms/SimplifyCFG/select-gep.ll | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/SimplifyCFG/branch-fold-dbg.ll b/test/Transforms/SimplifyCFG/branch-fold-dbg.ll index 0897c95a67..0526883fe8 100644 --- a/test/Transforms/SimplifyCFG/branch-fold-dbg.ll +++ b/test/Transforms/SimplifyCFG/branch-fold-dbg.ll @@ -1,4 +1,4 @@ -; RUN: opt -simplifycfg -S %s | FileCheck %s +; RUN: opt -simplifycfg -S < %s | FileCheck %s %0 = type { i32*, i32* } diff --git a/test/Transforms/SimplifyCFG/select-gep.ll b/test/Transforms/SimplifyCFG/select-gep.ll index 7654d0271a..3e2a6237b2 100644 --- a/test/Transforms/SimplifyCFG/select-gep.ll +++ b/test/Transforms/SimplifyCFG/select-gep.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -simplifycfg %s | FileCheck %s +; RUN: opt -S -simplifycfg < %s | FileCheck %s define i8* @test1(i8* %x, i64 %y) nounwind { entry: |