You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
23
external/llvm/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll
vendored
Normal file
23
external/llvm/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
; RUN: opt < %s -globalopt -S | FileCheck %s
|
||||
|
||||
@0 = global i32 0
|
||||
; CHECK-DAG: @0 = internal global i32 0
|
||||
|
||||
@1 = private global i32 0
|
||||
; CHECK-DAG: @1 = private global i32 0
|
||||
|
||||
define i32* @2() {
|
||||
ret i32* @0
|
||||
}
|
||||
; CHECK-DAG: define internal fastcc i32* @2()
|
||||
|
||||
define i32* @f() {
|
||||
entry:
|
||||
call i32* @2()
|
||||
ret i32* %0
|
||||
}
|
||||
|
||||
define i32* @g() {
|
||||
entry:
|
||||
ret i32* @1
|
||||
}
|
Reference in New Issue
Block a user