[PATCH] D25757: Fix splitBasicBlock API

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 16:14:02 PDT 2016


MatzeB added a comment.

LLVM language ref says: "Each basic block may optionally start with a label (giving the basic block a symbol table entry), contains a list of instructions, and ends with a terminator instruction (such as a branch or function return)." So I would expect a terminator after the last PHI instruction or is this used in some intermediate steps where that rule is temporarily broken?


https://reviews.llvm.org/D25757





More information about the llvm-commits mailing list