OSDN Git Service

Don't call SDNode::isPredecessorOf when it isn't necessary. If the load's
authorDan Gohman <gohman@apple.com>
Wed, 28 Oct 2009 15:28:02 +0000 (15:28 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 28 Oct 2009 15:28:02 +0000 (15:28 +0000)
commit1507cd03a64679f6999f51218a3a0180d51ab673
treef8b51ea60e5ef41b5ec20db77f04a922a6058108
parentb8457a1a29c659638af9e260a14aa12836ca128f
Don't call SDNode::isPredecessorOf when it isn't necessary. If the load's
chains have no users, they can't be predecessors of the condition.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85394 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp