split a complex predicate out to a helper function. Simplify two for loops,
authorChris Lattner <sabre@nondot.org>
Sun, 17 Apr 2011 06:03:19 +0000 (06:03 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 17 Apr 2011 06:03:19 +0000 (06:03 +0000)
commit8bdc251dc5392fdf4854dcf588d73927d6ef64b3
tree2ed2363cc78153902c76e47e69e41b52e38afbfc
parent2f108f81c1fd729e0ad47c92af9cc8a535fa557a
split a complex predicate out to a helper function.  Simplify two for loops,
which don't need to check for falling off the end of a block *and* end of phi
nodes, since terminators are never phis.

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