From fbfb1b286f08cd48e55b1284879a95f75ec964f6 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Tue, 1 Jan 2013 13:57:25 +0000 Subject: 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. My previous regex was not good enough to find these. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171343 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/GVN/range.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Transforms/GVN/range.ll') diff --git a/test/Transforms/GVN/range.ll b/test/Transforms/GVN/range.ll index 3759c41..2115fe8 100644 --- a/test/Transforms/GVN/range.ll +++ b/test/Transforms/GVN/range.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -basicaa -gvn -S -o - | FileCheck %s +; RUN: opt -basicaa -gvn -S < %s | FileCheck %s define i32 @test1(i32* %p) { ; CHECK: @test1(i32* %p) -- cgit v1.1