Use hasDefinitiveInitializer() instead of testing the same thing
authorDan Gohman <gohman@apple.com>
Wed, 19 Aug 2009 18:20:44 +0000 (18:20 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 19 Aug 2009 18:20:44 +0000 (18:20 +0000)
commit8255573835970e7130ba93271972172fb335f2ec
tree23947e9eb17b05ed32f1b29c234ae91aa610fbcc
parentde0e587e63f71afb2ac53c9880c262089fe798bb
Use hasDefinitiveInitializer() instead of testing the same thing
by hand, and fix a few places that were using hasInitializer() that
appear to depend on the initializer value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79441 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IPA/Andersens.cpp
lib/Analysis/ScalarEvolution.cpp
lib/Analysis/ValueTracking.cpp
lib/Transforms/IPO/ConstantMerge.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/IPO/InlineSimple.cpp