More changes for non-top-down fast-isel.
authorDan Gohman <gohman@apple.com>
Mon, 21 Jun 2010 15:13:54 +0000 (15:13 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 21 Jun 2010 15:13:54 +0000 (15:13 +0000)
commitfaeb0e744838553e6c46dab0ff3f9d8fc41fc766
tree25cbb1cb15faadcb7afe3ea851b7279cbc417de9
parent2e39498114c8715920cce51488990ac36a3c61b0
More changes for non-top-down fast-isel.

Split the code for materializing a value out of
SelectionDAGBuilder::getValue into a helper function, so that it can
be used in other ways. Add a new getNonRegisterValue function which
uses it, for use in code which doesn't want a CopyFromReg even
when FuncMap.ValueMap already has an entry for it.

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