[llvm-commits] [llvm] r53085 - /llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp
Chris Lattner
clattner at apple.com
Thu Jul 3 09:40:36 PDT 2008
On Jul 3, 2008, at 12:50 AM, Matthijs Kooijman wrote:
> Hi Chris,
>
>> The advantage of this approach is that recalculation of domtree only
>> happens if an unswitch happens. If you have:
> On the other hand, it will then also happen if there are no other
> passes
> (directly) after loopunswitch that need dominfo...j
You're right of course, which we can verify by looking at the pass
ordering llvm-gcc happens to use. The right fix is to make unswitch
update dominfo correctly.
-Chris
More information about the llvm-commits
mailing list