OSDN Git Service

Do compare constant SCEV values in SCEVComplexityCompare, because
authorDan Gohman <gohman@apple.com>
Sun, 14 Jun 2009 22:51:25 +0000 (22:51 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 14 Jun 2009 22:51:25 +0000 (22:51 +0000)
commit4dfad295475387211012f17bf640a9f8330872be
tree75db9f9b0b30d3083f13bc080371c5d0327c7fcd
parenta82752c9eb5fbdd1b7276fde7349ac9453eb5a75
Do compare constant SCEV values in SCEVComplexityCompare, because
even though the order doesn't matter at the top level of an expression,
it does matter when the constant is a subexpression of an n-ary
expression, because n-ary expressions are sorted lexicographically.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73358 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp