[LLVMdev] Duplicating a Basic Block
agarwal.ambika at gmail.com
Fri Jun 4 02:15:47 PDT 2010
I had asked earlier from my another ID about duplicating a basic block, but
that server is down for moment.
I was given suggestion to use CloneBasicBlock, but when I used it I get an
While deleting: i32* %a
Use still stuck around after Def is destroyed: store i32* %a, i32** %p,
opt: /home/ambika/llvm_3/llvm-2.6/lib/VMCore/Value.cpp:81: virtual
llvm::Value::~Value(): Assertion `use_empty() && "Uses remain when a value
is destroyed!"' failed.
0 opt 0x08471218
This message is printed inside destructor of class value .
Now I dont understand that after all the instructions are duplicated why
does thios kind of error come??
I will be very thankful if someone can help me.
Thanks and Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev