search for: _d7asanasm3foofzv

Displaying 1 result from an estimated 1 matches for "_d7asanasm3foofzv".

2017 Aug 03
4
Bug or incorrect use of inline asm?
Hi all, I stumbled upon either a bug, or we are emitting wrong inline asm code. The testcase is: ``` source_filename = "testcase.d" target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx" define void @_D7asanasm3fooFZv() { %a = alloca [4 x i32], align 32 call void asm sideeffect "movl %ebx, 4+$0", "=*m,~{memory}"([4 x i32]* %a) ret void } ``` When I try to compile this to assembly code with llc, llc errors. > llc testcase.ll -o testcase.s -O0 <inline asm>:1:16: error: unknown t...