blob: 0ffcb9575d5c2ac4a83aed2fb7ebfbb7e4864ea9 (
plain)
1
2
3
4
5
6
7
8
9
|
; 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
}
|