[LLVMbugs] [Bug 1842] New: dag combiner changes select into and incorrectly

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Dec 5 14:48:15 PST 2007


           Summary: dag combiner changes select into and incorrectly
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: alenhar2 at uiuc.edu
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1279)
 --> (http://llvm.org/bugs/attachment.cgi?id=1279)
triggers bug

in the attached code, a setcc -> select i8 is transformed into a setcc (which
yields 0 or 1) -> and

which would work if the setcc returned ~0, but it doesn't (and
AlphaTargetLowering.cpp says so).

The selection dag is correct before the dag combiner is run.

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