[LLVMbugs] [Bug 557] NEW: [reassociate] missed reassociation opportunity

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri May 6 13:31:26 PDT 2005


           Summary: [reassociate] missed reassociation opportunity
           Product: libraries
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org

Reassociate should be able to turn this into two adds:

#define DannyB
int a, b, c, d;
        DannyB  int foo(void)
        DannyB  {
        DannyB  int e;
        DannyB  int f;
        DannyB  e = a + b;
        DannyB  e = e + c;
        DannyB  f = a + c;
        DannyB  f = f + b;
        DannyB  printf ("%d %d\n", e, f);


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