1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker@temp1 = global i64 -77129852189294865, align 8 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Workerdefine void @foo() nounwind { 6*9880d681SAndroid Build Coastguard Worker %x = load i64, i64* @temp1, align 8 7*9880d681SAndroid Build Coastguard Worker %s = shl i64 %x, 32 8*9880d681SAndroid Build Coastguard Worker %t = trunc i64 %s to i32 9*9880d681SAndroid Build Coastguard Worker %z = zext i32 %t to i64 10*9880d681SAndroid Build Coastguard Worker store i64 %z, i64* @temp1, align 8 11*9880d681SAndroid Build Coastguard Worker; CHECK: movl $0, {{_?}}temp1+4 12*9880d681SAndroid Build Coastguard Worker; CHECK: movl $0, {{_?}}temp1 13*9880d681SAndroid Build Coastguard Worker ret void 14*9880d681SAndroid Build Coastguard Worker} 15*9880d681SAndroid Build Coastguard Worker 16