[LLVMdev] Getting the pointer type from a Load/Store SDNode

Christopher Lamb christopher.lamb at gmail.com
Wed Nov 21 19:00:39 PST 2007


I'm digging into this, but I'd like to know if it's feasible to get  
to the pointer type from a Load/Store SDNode? This would relieve me  
from having to put the address space information into those SDNodes.

Is Load/StoreSDNode->getSrcValue()->getType() going to do what I  
want? If not, I can't see another way of getting to the pointer type.

--
Christopher Lamb



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20071121/aaee0354/attachment.html>


More information about the llvm-dev mailing list