Now that we use an ilist of machine instructions, iterators are more robust
authorChris Lattner <sabre@nondot.org>
Mon, 10 May 2004 18:47:18 +0000 (18:47 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 May 2004 18:47:18 +0000 (18:47 +0000)
commit791f896d9f8a38b3806878867d61c114069b6195
treee2704231c60e9fb2503eb0569858d4f62f0b2eef
parentc81e6bae88d0b23c5d23b0b0ebcfa05c8de71af9
Now that we use an ilist of machine instructions, iterators are more robust
than before.  Because this is the case, we can compute the first non-phi
instruction once when de-phi'ing a block.  This shaves ~4s off of
phielimination of _Z7yyparsev in kimwitu++ from 109s -> 105s.  There are
still much more important gains to come.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13452 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PHIElimination.cpp