Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/2009-10-14-LiveVariablesBug.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 ; RUN: llc < %s -mtriple=i386-apple-darwin | |
2 ; rdar://7299435 | |
3 | |
4 @i = internal global i32 0 ; <i32*> [#uses=1] | |
5 @llvm.used = appending global [1 x i8*] [i8* bitcast (void (i16)* @foo to i8*)], section "llvm.metadata" ; <[1 x i8*]*> [#uses=0] | |
6 | |
7 define void @foo(i16 signext %source) nounwind ssp { | |
8 entry: | |
9 %source_addr = alloca i16, align 2 ; <i16*> [#uses=2] | |
10 store i16 %source, i16* %source_addr | |
11 store i32 4, i32* @i, align 4 | |
12 call void asm sideeffect "# top of block", "~{dirflag},~{fpsr},~{flags},~{edi},~{esi},~{edx},~{ecx},~{eax}"() nounwind | |
13 %asmtmp = call i16 asm sideeffect "movw $1, $0", "=={ax},*m,~{dirflag},~{fpsr},~{flags},~{memory}"(i16* %source_addr) nounwind ; <i16> [#uses=0] | |
14 ret void | |
15 } |