diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-02-11 08:47:47 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-02-11 08:47:47 +0000 | 
| commit | b24ce3a2a8be3965a00695bfecb8b79e3f71b295 (patch) | |
| tree | 9777e1935193e94c7983014bd8c395cdfe0aad06 /llvm/lib/Transforms | |
| parent | 4698e4f5fe0ca72b2aa19c2ef67778f83634a132 (diff) | |
| download | bcm5719-llvm-b24ce3a2a8be3965a00695bfecb8b79e3f71b295.tar.gz bcm5719-llvm-b24ce3a2a8be3965a00695bfecb8b79e3f71b295.zip | |
revert my previous change, it exposed other problems.
llvm-svn: 26121
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Utils/LoopSimplify.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp index c76e501af82..a8aa0e0bbcc 100644 --- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp +++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp @@ -169,7 +169,7 @@ bool LoopSimplify::ProcessLoop(Loop *L) {           PI != PE; ++PI)        // Must be exactly this loop: no subloops, parent loops, or non-loop preds        // allowed. -      if (LI.getLoopFor(*PI) != L) { +      if (!L->contains(*PI)) {          RewriteLoopExitBlock(L, ExitBlock);          NumInserted++;          Changed = true; | 

