mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 04:35:00 +00:00
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:
parent
4232f4e605
commit
553b2c9435
@ -1,9 +1,11 @@
|
|||||||
; RUN: opt < %s -globalopt -S | grep internal | count 2
|
; RUN: opt < %s -globalopt -S | FileCheck %s
|
||||||
|
|
||||||
global i32 0
|
global i32 0
|
||||||
|
; CHECK: @0 = internal global i32 0
|
||||||
define i32* @1() {
|
define i32* @1() {
|
||||||
ret i32* @0
|
ret i32* @0
|
||||||
}
|
}
|
||||||
|
; CHECK: define internal fastcc i32* @1()
|
||||||
define i32* @f() {
|
define i32* @f() {
|
||||||
entry:
|
entry:
|
||||||
call i32* @1()
|
call i32* @1()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user