[LLVMbugs] [Bug 590] [mem2reg] Local alloca optimization incorrect for read-before-write case

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jun 30 00:31:33 PDT 2005


sabre at nondot.org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
          Component|opt                         |Scalar Optimizations
           Keywords|                            |miscompilation
         OS/Version|MacOS X                     |All
            Product|tools                       |libraries
           Platform|Macintosh                   |All
         Resolution|                            |FIXED
            Summary|opt -scalarrepl miscompiles |[mem2reg] Local alloca
                   |program containing undef    |optimization incorrect for
                   |that is not actually stored |read-before-write case
   Target Milestone|---                         |1.6
            Version|trunk                       |1.4

------- Additional Comments From sabre at nondot.org  2005-06-30 02:31 -------
Fixed.  Testcase here: Transforms/Mem2Reg/2005-06-30-ReadBeforeWrite.ll

Patch here:



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