<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, May 17, 2018 at 6:43 AM Alex Denisov via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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 ...?<br></blockquote><div><br></div><div>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.</div></div></div>