[LLVMbugs] [Bug 12013] Missing optimization (cmp GEP(alloca) with null)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 19 16:44:04 PST 2012


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

Chris Lattner <clattner at apple.com> changed:

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

--- Comment #2 from Chris Lattner <clattner at apple.com> 2012-02-19 18:44:04 CST ---
Implemented in r150944.  A more general form of this that we still miss is the
equivalent of:

void foo(int  *P) {
  P[1] = 42;
  if (P == 0) ...
}

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