Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Transforms/SSI/2009-07-09-Invoke.ll b/test/Transforms/SSI/2009-07-09-Invoke.ll
index aa5bcc8..20a2217 100644
--- a/test/Transforms/SSI/2009-07-09-Invoke.ll
+++ b/test/Transforms/SSI/2009-07-09-Invoke.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -ssi-everything -disable-output
+; RUN: opt < %s -ssi-everything -disable-output
; PR4511
%"struct.std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >" = type { %"struct.std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_Vector_impl" }
diff --git a/test/Transforms/SSI/2009-08-15-UnreachableBB.ll b/test/Transforms/SSI/2009-08-15-UnreachableBB.ll
index bd90d1f..0fe37ec 100644
--- a/test/Transforms/SSI/2009-08-15-UnreachableBB.ll
+++ b/test/Transforms/SSI/2009-08-15-UnreachableBB.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -ssi-everything -disable-output
+; RUN: opt < %s -ssi-everything -disable-output
declare fastcc i32 @ras_Empty(i8** nocapture) nounwind readonly
diff --git a/test/Transforms/SSI/2009-08-17-CritEdge.ll b/test/Transforms/SSI/2009-08-17-CritEdge.ll
index f174360..61bd2dc 100644
--- a/test/Transforms/SSI/2009-08-17-CritEdge.ll
+++ b/test/Transforms/SSI/2009-08-17-CritEdge.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -ssi-everything -disable-output
+; RUN: opt < %s -ssi-everything -disable-output
define void @test(i32 %x) {
entry:
diff --git a/test/Transforms/SSI/2009-08-19-UnreachableBB2.ll b/test/Transforms/SSI/2009-08-19-UnreachableBB2.ll
index 65cd8b5..64bed19 100644
--- a/test/Transforms/SSI/2009-08-19-UnreachableBB2.ll
+++ b/test/Transforms/SSI/2009-08-19-UnreachableBB2.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -ssi-everything -disable-output
+; RUN: opt < %s -ssi-everything -disable-output
define void @foo() {
entry:
diff --git a/test/Transforms/SSI/ssiphi.ll b/test/Transforms/SSI/ssiphi.ll
index 146ea9d..a42b70c 100644
--- a/test/Transforms/SSI/ssiphi.ll
+++ b/test/Transforms/SSI/ssiphi.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -ssi-everything -S | FileCheck %s
+; RUN: opt < %s -ssi-everything -S | FileCheck %s
declare void @use(i32)
declare i32 @create()