mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-01 09:18:45 +00:00
a09b9ca10f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74141 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
241 B
LLVM
10 lines
241 B
LLVM
; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin
|
|
; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin -relocation-model=pic | grep add | grep pc
|
|
|
|
@G = external global i32
|
|
|
|
define i32 @test1() {
|
|
%tmp = load i32* @G
|
|
ret i32 %tmp
|
|
}
|