Rahil Rahimian
2012-Jan-04 11:47 UTC
[LLVMdev] replace a conditional branch with unconditional branch
Hi all, How can replace a conditional branch with unconditional branch? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120104/f2593dd0/attachment.html>
Duncan Sands
2012-Jan-04 12:10 UTC
[LLVMdev] replace a conditional branch with unconditional branch
Hi Rahil,> How can replace a conditional branch with unconditional branch?the simplest way is to replace the condition operand with the appropriate constant (true or false). Other passes will then clean it up for you. Ciao, Duncan.