Have ScalarEvolution use SimplifyInstruction rather than hasConstantValue.
authorDuncan Sands <baldrick@free.fr>
Wed, 17 Nov 2010 04:18:45 +0000 (04:18 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 17 Nov 2010 04:18:45 +0000 (04:18 +0000)
commita0c5244e8575ae91af318af09353ff34ac6bca1e
treeb8639cf826d763b829fd40049a3dcef9cf4b5525
parent6ac3386e100db376895dbc4a324d56d0ecd666d2
Have ScalarEvolution use SimplifyInstruction rather than hasConstantValue.
While there, add a note about an inefficiency I noticed.

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