| commit | 1ce75dcbbcb6a67904a23b4ec701d1e994767c7e | [log] [tgz] |
|---|---|---|
| author | Evan Cheng <evan.cheng@apple.com> | Mon Jul 07 19:51:32 2008 +0000 |
| committer | Evan Cheng <evan.cheng@apple.com> | Mon Jul 07 19:51:32 2008 +0000 |
| tree | 600e0efd70bf6ebe87e37f0f0cfb5d4b7caf5ad9 | |
| parent | 85e9212fcdd63d8b796d09c87f99eae5153a6c8a [diff] |
Fix two serious LSR bugs. 1. LSR runOnLoop is always returning false regardless if any transformation is made. 2. AddUsersIfInteresting can create new instructions that are added to DeadInsts. But there is a later early exit which prevents them from being freed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53193 91177308-0d34-0410-b5e6-96231b3b80d8