llvm.org GIT mirror llvm / release_60 test / CodeGen / X86 / pr14562.ll
release_60

Tree @release_60 (Download .tar.gz)

pr14562.ll @release_60raw · history · blame

; RUN: llc < %s -mtriple=i686-- | FileCheck %s

@temp1 = global i64 -77129852189294865, align 8

define void @foo() nounwind {
  %x = load i64, 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
}