[LLVMbugs] [Bug 2047] New: Instcombine doesn't know that "a-b-c-a==-b-c"

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Feb 16 02:02:15 PST 2008


           Summary: Instcombine doesn't know that "a-b-c-a==-b-c"
           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: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu

Per summary: llvm doesn't simplify a function like the following:

int l(int a,int b,int c) {return a-b-c-a;}

to not reference a.

Probably not that important... but possibly interesting.

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