commit | e62d58884ad83d0351b9511d58eed4b21ff6e0b1 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Aug 13 21:17:19 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Aug 13 21:17:19 2010 +0000 |
tree | dc35402fc8bd831d70d0944220a9930458d18e93 | |
parent | 30baa634744325ef3452a78ec2b1948177b24256 [diff] |
Fix LSR's ExtractImmediate and ExtractSymbol to avoid calling ScalarEvolution::getAddExpr, which can be pretty expensive, when nothing has changed, which is pretty common. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111042 91177308-0d34-0410-b5e6-96231b3b80d8