Use expandCodeFor instead of expand when the result will be
authorDan Gohman <gohman@apple.com>
Tue, 9 Jun 2009 17:18:38 +0000 (17:18 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 9 Jun 2009 17:18:38 +0000 (17:18 +0000)
commit92fcdcac543653a62949fe9e5a7bd008500c1380
tree2a2e6c9b5d401be2d790f7b4b31952ad766031ec
parentb157f2592660d77a8d0b6107ab603ccbf7e39a67
Use expandCodeFor instead of expand when the result will be
immediately casted. At present, this is just a minor code
simplification. In the future, the expansion code may be able
to make better choices if it knows what the desired result
type will be.

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