1 ; RUN: llc -march=hexagon -O2 -relocation-model=pic < %s | FileCheck %s
2 ; CHECK: add({{pc|PC}},##_GLOBAL_OFFSET_TABLE_@PCREL)
6 @g0 = external thread_local global i32
7 @g1 = external thread_local global i32
9 ; Function Attrs: nounwind
12 %v0 = load i32, i32* @g1, align 4, !tbaa !0
13 store i32 %v0, i32* @g0, align 4, !tbaa !0
14 tail call void @f1(i32 %v0) #0
20 attributes #0 = { nounwind "target-cpu"="hexagonv5" }
24 !2 = !{!"omnipotent char", !3}
25 !3 = !{!"Simple C/C++ TBAA"}