[LLVMdev] Assert in VerifySDNode

Villmow, Micah Micah.Villmow at amd.com
Fri Apr 1 09:33:37 PDT 2011



> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Duncan Sands
> Sent: Thursday, March 31, 2011 7:43 PM
> To: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Assert in VerifySDNode
> 
> 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).
> 
[Villmow, Micah] Duncan, thanks for the reply. But I don't see how I am generating a MemSDNode with this instruction.

> Ciao, Duncan.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev






More information about the llvm-dev mailing list