[LLVMdev] Assert in VerifySDNode

Duncan Sands baldrick at free.fr
Thu Mar 31 19:43:26 PDT 2011


Hi Micah,

> assert(!isa<MemSDNode>(N) && "Bad MemSDNode!");

you can't use getNode to allocate a MemSDNode because it does not allocate
enough memory (MemSDNode has extra fields beyond the operands).

Ciao, Duncan.



More information about the llvm-dev mailing list