aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodePlacementOpt.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-07 14:39:04 +0000
committerDan Gohman <gohman@apple.com>2009-05-07 14:39:04 +0000
commit9ba542c325e835c12787a684b7b6e24037ccb5d1 (patch)
tree8495effdc86650068d4cec4a1dd4fab616db3841 /llvm/lib/CodeGen/CodePlacementOpt.cpp
parent4f2e69c2295ea083954180b12b5448d1e8711d1e (diff)
downloadllvm-9ba542c325e835c12787a684b7b6e24037ccb5d1.zip
llvm-9ba542c325e835c12787a684b7b6e24037ccb5d1.tar.gz
llvm-9ba542c325e835c12787a684b7b6e24037ccb5d1.tar.bz2
Make ScalarEvolution's GroupByComplexity more thorough. In addition
to sorting SCEVs by their kind, sort SCEVs of the same kind according to their operands. This helps avoid things like (a+b) being a distinct expression from (b+a). llvm-svn: 71160
Diffstat (limited to 'llvm/lib/CodeGen/CodePlacementOpt.cpp')
0 files changed, 0 insertions, 0 deletions