[LLVMdev] DSNode Question

Chris Lattner sabre at nondot.org
Fri Dec 6 19:33:01 PST 2002


> I am trying to equate two dsnodes across call boundries.  On the Caller
> side we have an operand of form:
>  sbyte * getelementptr ([20 x sbyte]* %.LC0, long 0, long 0)
> using getNodeForValue() yields a NULL pointer.

This wierd device is a "constantexpr": the object is actually a subclass
of Constant (because it evaluates to a link time constant), so I think the
node is getting elided.  Vikram just checked in a fix that will probably
fix this, he can provide details...

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list