http://llvm.org/docs/ProgrammersManual.html#BasicBlock "This class represents a single entry multiple exit section of the code, commonly known as a basic block by the compiler community." This should perhaps read 'single entry single exit'?
On Feb 12, 2010, at 7:09 PM, Russell Wallace wrote:> http://llvm.org/docs/ProgrammersManual.html#BasicBlock > > "This class represents a single entry multiple exit section of the > code, commonly known as a basic block by the compiler community." > > This should perhaps read 'single entry single exit'?basic blocks can end with conditional branches etc, which have multiple exists. -Chris
Ah, I normally interpret 'multiple exits' to mean there can be more than one exit instruction (as opposed to just more than one destination). That having been said, if I'm the only one who interprets it that way, it's not a problem :-) On Sat, Feb 13, 2010 at 3:47 AM, Chris Lattner <clattner at apple.com> wrote:> > On Feb 12, 2010, at 7:09 PM, Russell Wallace wrote: > >> http://llvm.org/docs/ProgrammersManual.html#BasicBlock >> >> "This class represents a single entry multiple exit section of the >> code, commonly known as a basic block by the compiler community." >> >> This should perhaps read 'single entry single exit'? > > basic blocks can end with conditional branches etc, which have multiple exists. > > -Chris
On Feb 12, 2010, at 7:47 PM, Chris Lattner wrote:> > On Feb 12, 2010, at 7:09 PM, Russell Wallace wrote: > >> http://llvm.org/docs/ProgrammersManual.html#BasicBlock >> >> "This class represents a single entry multiple exit section of the >> code, commonly known as a basic block by the compiler community." >> >> This should perhaps read 'single entry single exit'? > > basic blocks can end with conditional branches etc, which have multiple exists.Sure, but it's a single point of exit, which is (1) different from some other SSA designs and (2) what people normally use SESE to mean. John.