[LLVMdev] how to remove MachineInstr ?

zhengjian zhang zhangzhengjian at gmail.com
Mon Jun 22 18:51:59 PDT 2009


Hi,

    I  want to remove   all the MachineInstr of one MachineBasicBlock
, i iterate  the  MachineBasicBlock and remove all the MachineInstr,
but  I can't remove the TerminatorInstr of the MachineBasicBlock ,
are there some  way to walk around it ?


zhangzw



More information about the llvm-dev mailing list