mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-21 19:20:50 +00:00

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
|
|
}
|