[LLVMbugs] [Bug 1815] New: codegen crash without DAG combiner

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Nov 21 01:00:14 PST 2007


           Summary: codegen crash without DAG combiner
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1259)
 --> (http://llvm.org/bugs/attachment.cgi?id=1259)
testcase .ll

If you turn off the pre-legalize DAG combiner thusly:

--- lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp       (revision 44262)
+++ lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp       (working copy)
@@ -4739,7 +4739,7 @@

   // Run the DAG combiner in pre-legalize mode.
-  DAG.Combine(false, *AA);
+//  DAG.Combine(false, *AA);

then the attached testcase causes a crash (X86):

$ llc -f udiv.bc
Cannot yet select: 0x8a54950: i8 = udiv 0x8a54410, 0x8a54478

That doesn't seem right.

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