view test/CodeGen/X86/pr14562.ll @ 0:95c75e76d11b

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children afa8332a0e37
line wrap: on
line source

; 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
}