Skip to content
Commit 7f5c2553 authored by Chris Lattner's avatar Chris Lattner
Browse files

check that terminators only occur at the end of a block. This catches the

common problem of putting two terminators in the same block.  I can't write
a testcase for this because the .ll parser rejects this before the verifier
can, but this can occur when generating IR.

llvm-svn: 46900
parent 65f63eba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment