Skip to content
Commit 70910a6a authored by Dan Gohman's avatar Dan Gohman
Browse files

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.

llvm-svn: 105540
parent a3bba337
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment