diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-04 07:36:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-04 07:36:50 +0000 |
commit | 221fc3c6d69bd3854e9121f51e3283492c222ab7 (patch) | |
tree | 908ccba0960ac8bbe3da9767ab871d4fb6040e74 /lib/CodeGen/MachineDebugInfo.cpp | |
parent | a6973c348bb92e672cad5b599cc4bff09c9e4b10 (diff) |
Fix two significant bugs in LSR:
1. When rewriting code in outer loops, sometimes we would insert code into
inner loops that is invariant in that loop.
2. Notice that 4*(2+x) is 8+4*x and use that to simplify expressions.
This is a performance neutral change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions