[llvm-commits] [PATCH] Add a new visitor for walking the uses of a pointer value.
Chandler Carruth
chandlerc at gmail.com
Sun Dec 9 05:59:55 PST 2012
Simplify the interface for enqueuing users to more accurately reflect the
common use case. Just mutate the offset of during the visit when walking a GEP.
This fixes several miscompiles where we would lose the fact that the offset was
unknown when round-tripping through a bitcast or a GEP.
Hi bkramer,
http://llvm-reviews.chandlerc.com/D157
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D157?vs=473&id=474#toc
BRANCH
ptr-visitor
ARCANIST PROJECT
llvm
Files:
include/llvm/Analysis/PtrUseVisitor.h
lib/Analysis/CMakeLists.txt
lib/Analysis/PtrUseVisitor.cpp
lib/Transforms/Scalar/SROA.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157.3.patch
Type: text/x-patch
Size: 37502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121209/d7d079e3/attachment.bin>
More information about the llvm-commits
mailing list