mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-19 03:38:26 +00:00
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
|
|
}
|