OSDN Git Service

improve PHINode::hasConstantValue() to detect recursive cases like %phi = phi(%phi...
authorNuno Lopes <nunoplopes@sapo.pt>
Tue, 3 Jul 2012 17:10:28 +0000 (17:10 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Tue, 3 Jul 2012 17:10:28 +0000 (17:10 +0000)
commit44d5c064888aedd70a8f994bd379372d532ab46f
treedc80f11c102099956b4a05db1076178e3dc33234
parent9ccc83e7f70e63b746cbc7eef9fb06022e758677
improve PHINode::hasConstantValue() to detect recursive cases like %phi = phi(%phi,42) as constant

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