[LLVMbugs] [Bug 8657] DSE doesn't remove know that complete-object-stores kill variable stores into object

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 30 15:45:36 PST 2010


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

Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Chris Lattner <clattner at apple.com> 2010-11-30 17:45:36 CST ---
Implemented in r120498.  LLVM now optimizes the testcase to a single store when
it's a C++ file or built with -fno-common.

If GCC optimizes this in the C case with -fcommon, you should file a bug
against GCC.  "i" may not be in the range of 0..3 if another translation unit
defines a larger "u" with a strong definition, and thus the optimization is
invalid with -fcommon.

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