diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-02 06:32:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-02 06:32:17 +0000 |
commit | 5313f23b8c3d22a2028beb731c60fc1a25beb149 (patch) | |
tree | ebbe312db0ded8ca7c640202b37ec35a1e47c778 /lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 87ab7e994fb20ae5bfcb18fa7587d0fc2d55481a (diff) |
Fix two pretty serious bugs:
1. Each time the loop extractor extracted a loop, we would leak a module.
2. When we extracted a loop, we didn't add the new function to the list of
miscompiled functions. Thus if the bug was in a loop nest and we
extracted it, we could actually *LOSE THE BUG*, which is very bad.
With these patches, bugpoint has successfully found a bug for me in a function
with several nested loops, and cut it down to just one of them. :) :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions