You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
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