From f2f6ce65b79df6ec4ee427d51a18355a170f199b 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/deadcode.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/Transforms/InstCombine/deadcode.ll') diff --git a/test/Transforms/InstCombine/deadcode.ll b/test/Transforms/InstCombine/deadcode.ll index 8f1158b7fe..52af0ef4e8 100644 --- a/test/Transforms/InstCombine/deadcode.ll +++ b/test/Transforms/InstCombine/deadcode.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -instcombine -S | grep {ret i32 %A} -; RUN: opt %s -die -S | not grep call.*llvm.stacksave +; RUN: opt < %s -instcombine -S | grep {ret i32 %A} +; RUN: opt < %s -die -S | not grep call.*llvm.stacksave define i32 @test(i32 %A) { %X = or i1 false, false -- cgit v1.2.3-70-g09d2