Displaying 2 results from an estimated 2 matches for "292792bc".
2010 Apr 21
0
[LLVMdev] How to delete a instruction?
lucefe wrote:
> I did a simple test just now, but I alse failed.
>
> I delete several ordered instructions from end to begin,
> but after deleting the first instruction(the last instruction of F),
> the program crashed.
> My test code is below (F is a function only containing several
> sequential instructions):
>
> for (inst_iterator inst == --inst_end(F); inst !=
2010 Apr 21
2
[LLVMdev] How to delete a instruction?
I did a simple test just now, but I alse failed.
I delete several ordered instructions from end to begin,
but after deleting the first instruction(the last instruction of F), the
program crashed.
My test code is below (F is a function only containing several sequential
instructions):
for (inst_iterator inst == --inst_end(F); inst != inst_begin(F); --inst) {
Instruction * i = &*inst;