[LLVMbugs] [Bug 6043] New: DSE misses easy optimization

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jan 14 13:13:58 PST 2010


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

           Summary: DSE misses easy optimization
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: stoklund at 2pi.dk
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4052)
 --> (http://llvm.org/bugs/attachment.cgi?id=4052)
Simple dse test

The attached test case has two i32 stores that should be eliminated pretty
easily.
Running it through opt -dse does nothing, though.

The code is generated by llvm-gcc from this union:

union {
  int64_t a;
  struct {
    int32_t x,y;
  };
};


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