xref: /llvm-project/llvm/test/CodeGen/X86/pr14562.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; RUN: llc < %s -mtriple=i686-- | FileCheck %s
2
3@temp1 = global i64 -77129852189294865, align 8
4
5define void @foo() nounwind {
6  %x = load i64, ptr @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, ptr @temp1, align 8
11; CHECK: movl $0, {{_?}}temp1+4
12; CHECK: movl $0, {{_?}}temp1
13  ret void
14}
15
16