Add a new FastISel method, getRegForValue, which takes care of
authorDan Gohman <gohman@apple.com>
Wed, 27 Aug 2008 18:10:19 +0000 (18:10 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 27 Aug 2008 18:10:19 +0000 (18:10 +0000)
commitad368ac2b5f303050e9aaa357e2b806fae38f81b
tree0b8913610f857749442385764fe6aa4fe625c508
parent96a9999d79345fa7bc7e2f2a3f28edef4c69e6b5
Add a new FastISel method, getRegForValue, which takes care of
the details of materializing constants and other values into
registers, and make use of it in several places.

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