diff options
| author | Dan Gohman <gohman@apple.com> | 2010-08-27 15:26:01 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-08-27 15:26:01 +0000 |
| commit | 22b00d70c9c06012405b097bd0f1f2af372186f2 (patch) | |
| tree | 36e1828faf668e160b59209abdf5768a10b0c9ce /lib/Transforms/InstCombine/InstCombineCasts.cpp | |
| parent | b3c89f9b1a114b8d749493410f64f4496e3dfdc2 (diff) | |
| download | external_llvm-22b00d70c9c06012405b097bd0f1f2af372186f2.zip external_llvm-22b00d70c9c06012405b097bd0f1f2af372186f2.tar.gz external_llvm-22b00d70c9c06012405b097bd0f1f2af372186f2.tar.bz2 | |
Optimize SCEVComplexityCompare. Use a 3-way return instead of a 2-way
return to avoid needing two calls to test for equivalence, and sort
addrecs by their degree before examining their operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombineCasts.cpp')
0 files changed, 0 insertions, 0 deletions
