1 ; RUN: llc < %s -mtriple=i386-apple-darwin
4 @i = internal global i32 0 ; <ptr> [#uses=1]
5 @llvm.used = appending global [1 x ptr] [ptr @foo], section "llvm.metadata" ; <ptr> [#uses=0]
7 define void @foo(i16 signext %source) nounwind ssp {
9 %source_addr = alloca i16, align 2 ; <ptr> [#uses=2]
10 store i16 %source, ptr %source_addr
11 store i32 4, ptr @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}"(ptr elementtype(i16) %source_addr) nounwind ; <i16> [#uses=0]