Skip to content
Commit 2706567c authored by Dan Gohman's avatar Dan Gohman
Browse files

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.

llvm-svn: 112267
parent ca158413
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