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