diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-14 22:38:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-14 22:38:01 +0000 |
commit | 69a52155d2eff066b49dbac385113002fd9dba14 (patch) | |
tree | c8576620cec0432b9c69b07100430530b75c597c /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 7f2afac1dc0a9448badcfa0e1a98ccb89436ed47 (diff) |
Adjust to CopyFromReg changes, implement deletion of truncating/extending
stores/loads.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index ed363e111c..2d264c0ed2 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -254,7 +254,7 @@ public: std::map<const Value*, unsigned>::const_iterator VMI = FuncInfo.ValueMap.find(V); assert(VMI != FuncInfo.ValueMap.end() && "Value not in map!"); - return N = DAG.getCopyFromReg(VMI->second, VT); + return N = DAG.getCopyFromReg(VMI->second, VT, DAG.getEntryNode()); } const SDOperand &setValue(const Value *V, SDOperand NewN) { |