Use the bool argument to hasConstantValue to decide whether the client is
authorChris Lattner <sabre@nondot.org>
Fri, 5 Aug 2005 01:00:58 +0000 (01:00 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 5 Aug 2005 01:00:58 +0000 (01:00 +0000)
commitb3b48e11dad271bd236aaec1a601f4a02bfb5374
treeb6ca0b71850ed9fad32384d93d183da599101948
parent2733b30195f1681141576b5463778ffa625516d4
Use the bool argument to hasConstantValue to decide whether the client is
prepared to deal with return values that do not dominate the PHI.  If we
cannot prove that the result dominates the PHI node, do not return it if
the client can't cope.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22669 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Instructions.cpp