Hi, I'd like to know if is possible to create a new entry block and a branch to old entry block? How can i make this? Thanks -- *Rafael Parizi* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110930/a7c133f9/attachment.html>
On Fri, Sep 30, 2011 at 12:40 PM, Rafael Baldiati Parizi <parizi.computacao at gmail.com> wrote:> Hi, > I'd like to know if is possible to create a new entry block and a branch to > old entry block? > How can i make this?Try BasicBlock::splitBasicBlock. -Eli
Ok, it worked. Thanks! 2011/9/30 Eli Friedman <eli.friedman at gmail.com>> On Fri, Sep 30, 2011 at 12:40 PM, Rafael Baldiati Parizi > <parizi.computacao at gmail.com> wrote: > > Hi, > > I'd like to know if is possible to create a new entry block and a branch > to > > old entry block? > > How can i make this? > > Try BasicBlock::splitBasicBlock. > > -Eli >-- *Rafael Parizi* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111003/a5319b66/attachment.html>