Assert that input blocks meet the invariants we expect
authorChris Lattner <sabre@nondot.org>
Mon, 15 Mar 2004 01:18:23 +0000 (01:18 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Mar 2004 01:18:23 +0000 (01:18 +0000)
commit0de632bfaedf07b5ae6fd616864716bd5427cb17
tree6480001d8c9c26ae962d7613daf9a9a2861bf06c
parente94fd1963ddb1102bebd2f769158d087445d7cc8
Assert that input blocks meet the invariants we expect

Simplify the input/output finder.  All elements of a basic block are
instructions.  Any used arguments are also inputs.  An instruction can only
be used by another instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12405 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/CodeExtractor.cpp