[LLVMdev] "SrcValue is not a pointer?" assertion in SelectionDAG::getSrcValue

ether zhhb etherzhhb at gmail.com
Thu Dec 3 17:45:42 PST 2009


i am building selectionDAG by my own code, but got a assertion fail
said "SrcValue is not a pointer?".

but since the comment above the SrcValueSDNode said: "SrcValueSDNode -
An SDNode that holds an arbitrary LLVM IR Value." why the llvm value
of SrcValueSDNode must be with PointerType? is that assertion
necessary? thanks a lots.


More information about the llvm-dev mailing list