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, ptr @g1, align 4, !tbaa !0
13 store i32 %v0, ptr @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"}