[LLVMdev] "SrcValue is not a pointer?" assertion in SelectionDAG::getSrcValue
samuraileumas at yahoo.com
Thu Dec 3 18:25:37 PST 2009
I think it is referring to the Value class (captial V) whose documentation is found at http://llvm.org/doxygen/classllvm_1_1Value.html . It has to be a pointer because the Value class is a parent class to many many child classes.
----- Original Message ----
> From: ether zhhb <etherzhhb at gmail.com>
> To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
> Sent: Thu, December 3, 2009 7:45:42 PM
> Subject: [LLVMdev] "SrcValue is not a pointer?" assertion in SelectionDAG::getSrcValue
> 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.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev