Factor out a bit of code that appears in several places into a
authorDan Gohman <gohman@apple.com>
Thu, 23 Apr 2009 23:13:24 +0000 (23:13 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 23 Apr 2009 23:13:24 +0000 (23:13 +0000)
commitad62f53795ac3da0353afba7e83464679c91ce5c
tree2e585ec0f30decb918102698245adb013b931163
parent5e5558bc66d593605ece81502bc310b7cf9e87f0
Factor out a bit of code that appears in several places into a
utility function.

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