brintos

brintos / llvm-project-archived public Read only

0
0
Text · 446 B · 9308902 Raw
23 lines · plain
1; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s2; RUN: llc < %s -mtriple=arm-linux-gnueabi -relocation-model=pic | \3; RUN:   FileCheck %s --check-prefix=PIC4 5 6; CHECK: i(TPOFF)7; CHECK: __aeabi_read_tp8 9; PIC: __tls_get_addr10 11@i = dso_local thread_local global i32 15		; <ptr> [#uses=2]12 13define dso_local i32 @f() {14entry:15	%tmp1 = load i32, ptr @i		; <i32> [#uses=1]16	ret i32 %tmp117}18 19define dso_local ptr @g() {20entry:21	ret ptr @i22}23