Skip to content
Commit f9201c57 authored by Andrew Trick's avatar Andrew Trick
Browse files

Move replaceCongruentIVs into SCEVExapander and bias toward "expanded"

IVs.

Indvars previously chose randomly between congruent IVs. Now it will
bias the decision toward IVs that SCEVExpander likes to create. This
was not done to fix any problem, it's just a welcome side effect of
factoring code.

llvm-svn: 141633
parent df14b3a8
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