Change SplitBlock to increment a BasicBlock::iterator, not an Instruction*. Apparent...
authorChris Lattner <sabre@nondot.org>
Thu, 16 Feb 2006 19:36:22 +0000 (19:36 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 16 Feb 2006 19:36:22 +0000 (19:36 +0000)
commit10cd9bbde7bda0b125cb5153f330ddc1f8509bd1
treea578d61c9288b04c609c3eead63f2f1c8c61697a
parent77dea9b3c318661429653c2ef670dcebc246c9d2
Change SplitBlock to increment a BasicBlock::iterator, not an Instruction*.  Apparently they do different things :)

This fixes a testcase that nate reduced from spass.

Also included are a couple minor code changes that don't affect the generated
code at all.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26235 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopUnswitch.cpp