[PATCH] Make GlobalsModRef more aggressive in finding allocations associated with globals by looking through bitcasts and all-zero GEPs.i

Chandler Carruth chandlerc at gmail.com
Thu Oct 16 12:02:05 PDT 2014


Also switches it to use a worklist so that it doesn't recurse too
deeply.

I wrote this because I was hunting for any place where we failed to look
through poniter casts feeding loads or stores, and saw this. I have no
idea if this really matters at all, if it helps, etc. I'm not really
looking at LTO stuff at the moment and don't have time to dig into the
details, figure out if this is a worthwhile change, or write test cases.
Mailing it to the list in case someone else wants to play with it.

http://reviews.llvm.org/D5831

Files:
  lib/Analysis/IPA/GlobalsModRef.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5831.15035.patch
Type: text/x-patch
Size: 4744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141016/c13dc761/attachment.bin>


More information about the llvm-commits mailing list