GlobalOpt: FileCheck-ize test

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212103 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Majnemer 2014-07-01 15:26:47 +00:00
parent 4232f4e605
commit 553b2c9435

View File

@ -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()