[LLVMbugs] [Bug 8576] New: Missing dead store elimination

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 9 14:17:14 PST 2010


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

           Summary: Missing dead store elimination
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: quality-of-implementation
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: xinliangli at gmail.com
                CC: llvmbugs at cs.uiuc.edu, xinliangli at gmail.com


void foo(int *p, int*q)
{

   *p = 10;   <-- this is not eliminated by clang/llvm but gcc does it
   *q = 20; 
   *p = 30;
}


(Does LLVM chain up the may-defs via def-def chain?)


David

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