From: David Majnemer Date: Tue, 1 Jul 2014 15:26:47 +0000 (+0000) Subject: GlobalOpt: FileCheck-ize test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=553b2c9435ac3edc7ef72f3f4d9da29d26cd6880;p=llvm GlobalOpt: FileCheck-ize test No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212103 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll b/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll index 62f75e123be..db2673af742 100644 --- a/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll +++ b/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll @@ -1,9 +1,11 @@ -; RUN: opt < %s -globalopt -S | grep internal | count 2 +; RUN: opt < %s -globalopt -S | FileCheck %s global i32 0 +; CHECK: @0 = internal global i32 0 define i32* @1() { ret i32* @0 } +; CHECK: define internal fastcc i32* @1() define i32* @f() { entry: call i32* @1()