[LLVMbugs] [Bug 2078] New: LLVM allocates eax as an input register for inline asm when it is in the clobber list
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Feb 20 07:25:27 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=2078
Summary: LLVM allocates eax as an input register for inline asm
when it is in the clobber list
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1440)
--> (http://llvm.org/bugs/attachment.cgi?id=1440)
Source for testcase
Steps to reproduce: run source through llvm-gcc -S, and note this code will
always instantly crash.
The asm expects to be able to use eax because it is in the clobber list, but
one of the inputs ends up getting allocated into eax. I don't know the exact
rules here, but we should probably be compatible with gcc.
Testcase reduced from ffmpeg.
--
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