[llvm-commits] [llvm] r153604 - in /llvm/trunk: lib/Analysis/IPA/GlobalsModRef.cpp test/Analysis/GlobalsModRef/pr12351.ll

Chris Lattner clattner at apple.com
Wed Mar 28 15:58:06 PDT 2012


On Mar 28, 2012, at 2:31 PM, Rafael Espindola wrote:

> Author: rafael
> Date: Wed Mar 28 16:31:24 2012
> New Revision: 153604
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=153604&view=rev
> Log:
> Handle intrinsics in GlobalsModRef. Fixes pr12351.

Looks great, it's scary that has been broken for this long.

If you're interested in improving this (now that it's correct ;-), a memset/memcpy to a local array doesn't need to propagate up  information about an access.  This is pretty common with C++ code compiled by clang.

-Chris 




More information about the llvm-commits mailing list