[LLVMbugs] [Bug 624] NEW: SetCC semantic mismatch on alpha

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Sep 2 09:47:49 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=624

           Summary: SetCC semantic mismatch on alpha
           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


It would be nice if legalize could be told the result type of setcc, and it
wasn't always an int.

On alpha, int compares return an int register of 1|0, but FP compares return a
fp register of 2.0|0.0, which means either using moves (involving the stack) and
cmovs, or branches to move the result into an int reg with value 1|0 like the
selection dag expects.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list