Refactor to share code to find the position of a basic block successor in the
authorBob Wilson <bob.wilson@apple.com>
Tue, 16 Feb 2010 19:49:17 +0000 (19:49 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 16 Feb 2010 19:49:17 +0000 (19:49 +0000)
commitadb6f226714dcfae363f51b453c4590b0f42da5e
treeb47715c7e30550eed4a68f7744f6cd1470887d50
parent7fca2294dad873aa7873e338ec3fcc4db49ea074
Refactor to share code to find the position of a basic block successor in the
terminator's list of successors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96377 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/BasicBlockUtils.h
lib/Transforms/Scalar/GVN.cpp
lib/Transforms/Utils/BasicBlockUtils.cpp