[LLVMbugs] [Bug 4677] New: Unsupported asm: input constraint with a matching output constraint of incompatible type! in x86_64 mode
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Aug 3 03:34:47 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4677
Summary: Unsupported asm: input constraint with a matching output
constraint of incompatible type! in x86_64 mode
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Keywords: regression
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: benny.kra at gmail.com
CC: llvmbugs at cs.uiuc.edu
$ cat t.c
int main() {
unsigned _data = 42;
__asm__("bswap %0":"+r"(_data));
/* asm from /usr/include/libkern/i386/_OSByteOrder.h */
}
$ clang -m64 t.c
LLVM ERROR: llvm: error: Unsupported asm: input constraint with a matching
output constraint of incompatible type!
I'm using LLVM r77969 on OS X 10.5.
--- Comment #1 from Benjamin Kramer <benny.kra at gmail.com> 2009-08-03 05:34:32 ---
Created an attachment (id=3279)
--> (http://llvm.org/bugs/attachment.cgi?id=3279)
bitcode
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list