commit | 9071dd3a57db98da6a4d1a5b52640bfbd4d09ef8 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Feb 09 01:06:01 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Feb 09 01:06:01 2008 +0000 |
tree | eabec8da878b6d0944df1e648d3e4f0c7f5ac570 | |
parent | 6394b099e836f56a937cdcc7332c9487b504ca68 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46900 91177308-0d34-0410-b5e6-96231b3b80d8