1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1 2*9880d681SAndroid Build Coastguard Worker; RUN: grep "movl a(%rip)," %t1 3*9880d681SAndroid Build Coastguard Worker; RUN: not grep GOTPCREL %t1 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker@a = hidden global i32 0 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Workerdefine i32 @get_a() { 8*9880d681SAndroid Build Coastguard Workerentry: 9*9880d681SAndroid Build Coastguard Worker %tmp1 = load i32, i32* @a, align 4 10*9880d681SAndroid Build Coastguard Worker ret i32 %tmp1 11*9880d681SAndroid Build Coastguard Worker} 12