diff options
author | Dan Gohman <gohman@apple.com> | 2010-06-07 19:06:13 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-06-07 19:06:13 +0000 |
commit | 4d52c6d622811d00d40b914a4ebd1996b1eed95d (patch) | |
tree | f1e85818a92e6e37a890fc1c85e4037bf1e6f3d6 /lib/CodeGen/IfConversion.cpp | |
parent | 22a5b298201d62daea3e06718469d8ad017895e1 (diff) |
Optimize ScalarEvolution's SCEVComplexityCompare predicate: don't go
scrounging through SCEVUnknown contents and SCEVNAryExpr operands;
instead just do a simple deterministic comparison of the precomputed
hash data.
Also, since this is more precise, it eliminates the need for the slow
N^2 duplicate detection code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IfConversion.cpp')
0 files changed, 0 insertions, 0 deletions