mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 07:52:55 +01:00
7d75c870f1
Patch by: Kevin Schoedel llvm-svn: 174974
16 lines
391 B
LLVM
16 lines
391 B
LLVM
; RUN: llc < %s -march=x86 | FileCheck %s
|
|
|
|
@temp1 = global i64 -77129852189294865, align 8
|
|
|
|
define void @foo() nounwind {
|
|
%x = load i64* @temp1, align 8
|
|
%s = shl i64 %x, 32
|
|
%t = trunc i64 %s to i32
|
|
%z = zext i32 %t to i64
|
|
store i64 %z, i64* @temp1, align 8
|
|
; CHECK: movl $0, {{_?}}temp1+4
|
|
; CHECK: movl $0, {{_?}}temp1
|
|
ret void
|
|
}
|
|
|