[LLVMdev] DSA getNodeForValue() Returning NULL Sometimes
Andrew Lenharth
andrewl at lenharth.org
Fri Aug 7 14:50:24 PDT 2009
On Fri, Aug 7, 2009 at 4:45 PM, Patrick Alexander
Simmons<simmon12 at cs.uiuc.edu> wrote:
> I'm iterating over all LoadInst and StoreInst-type Instructions in a
> Function, and getNodeForValue() is sometimes returning NULL. Why is
> this happening? Shouldn't every load from or store to memory correspond
> to some DSNode?
Not if the pointer is null or the pointer contains no information in
the pass you are querying.
Andrew
More information about the llvm-dev
mailing list