[LLVMbugs] [Bug 11725] New: Miscompilation in x86-32 mode possibly involving spill slots

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jan 8 10:57:09 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=11725

             Bug #: 11725
           Summary: Miscompilation in x86-32 mode possibly involving spill
                    slots
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7852
  --> http://llvm.org/bugs/attachment.cgi?id=7852
Pre-processed input

See the attached input as output of clang -emit-llvm -O2 -S. If compiled with
"llc -O0", it works. It fails if compiled with "llc -O1", but works if "opt
-O1" is run first.

The interesting combinations are "no opt and llc -O1" and "opt -O1 and llc
-O1".
Attached is the change in the assembler output that breaks the function.

-- 
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