Have a few places that want to simplify phi nodes use SimplifyInstruction
authorDuncan Sands <baldrick@free.fr>
Tue, 16 Nov 2010 17:41:24 +0000 (17:41 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 16 Nov 2010 17:41:24 +0000 (17:41 +0000)
commitcdbd99262286e96729007ac535cd430ecb3d38ac
tree29ee4b438d3edd840c88bd268c3bfe4815f0b29a
parentab7fa0885e8351c0d510938caeac83d3000031d1
Have a few places that want to simplify phi nodes use SimplifyInstruction
rather than calling hasConstantValue.  No intended functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119352 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
lib/Transforms/Scalar/TailRecursionElimination.cpp
lib/Transforms/Utils/LoopSimplify.cpp
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
lib/Transforms/Utils/SSAUpdater.cpp