[llvm-dev] RFC: Removing TerminatorInst, simplifying calls

Reid Kleckner via llvm-dev
Thu, 17 May 2018 17:19:21 -0000

On Thu, May 17, 2018 at 6:43 AM Alex Denisov via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> I'm curious how it would affect the getTerminator() method of a basic
> block? I.e., how would one find the terminating instruction in that case?
> By iterating over all of them or ...?
>

My understanding of the proposal is that all other existing terminator
invariants would be maintained: each BB still has exactly one terminator
and it must be the last instruction.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20180517/bede4355/attachment.html>