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