Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/X86/2009-10-14-LiveVariablesBug.ll @ 33:e4204d083e25
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
; RUN: llc < %s -mtriple=i386-apple-darwin ; rdar://7299435 @i = internal global i32 0 ; <i32*> [#uses=1] @llvm.used = appending global [1 x i8*] [i8* bitcast (void (i16)* @foo to i8*)], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0] define void @foo(i16 signext %source) nounwind ssp { entry: %source_addr = alloca i16, align 2 ; <i16*> [#uses=2] store i16 %source, i16* %source_addr store i32 4, i32* @i, align 4 call void asm sideeffect "# top of block", "~{dirflag},~{fpsr},~{flags},~{edi},~{esi},~{edx},~{ecx},~{eax}"() nounwind %asmtmp = call i16 asm sideeffect "movw $1, $0", "=={ax},*m,~{dirflag},~{fpsr},~{flags},~{memory}"(i16* %source_addr) nounwind ; <i16> [#uses=0] ret void }