From 3c7d3083e7c99a22ee4803048dfb86c7a57b1006 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 11 Sep 2009 18:01:28 +0000 Subject: 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 --- test/Transforms/InstCombine/addnegneg.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Transforms/InstCombine/addnegneg.ll') diff --git a/test/Transforms/InstCombine/addnegneg.ll b/test/Transforms/InstCombine/addnegneg.ll index 0f39d71..a3a09f2 100644 --- a/test/Transforms/InstCombine/addnegneg.ll +++ b/test/Transforms/InstCombine/addnegneg.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine -S | grep { sub } | count 1 +; RUN: opt < %s -instcombine -S | grep { sub } | count 1 ; PR2047 define i32 @l(i32 %a, i32 %b, i32 %c, i32 %d) { -- cgit v1.1