[LLVMbugs] [Bug 3079] New: clang doesn' t know how to generate code for constant remainder (%) ops

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Nov 16 20:48:00 PST 2008


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

           Summary: clang doesn't know how to generate code for constant
                    remainder (%) ops
           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: pcwalton at cs.ucla.edu
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2211)
 --> (http://llvm.org/bugs/attachment.cgi?id=2211)
Proposed patch.

There's an oversight in clang's CodeGen module in which constant * and /
operations are handled, but % (remainder/mod) isn't. The attached patch fixes
this bug.


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