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 | 3b8e719d1da6fcdf5384fb3348fa2ef46e2719e8 (patch) | |
| tree | 6170a9bfd9526e1a6f2e97005da0608dfbe2d394 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
| parent | 720a62e8c715162a035a5f98fb395b530cca94d7 (diff) | |
| download | bcm5719-llvm-3b8e719d1da6fcdf5384fb3348fa2ef46e2719e8.tar.gz bcm5719-llvm-3b8e719d1da6fcdf5384fb3348fa2ef46e2719e8.zip | |
Adjust to CopyFromReg changes, implement deletion of truncating/extending
stores/loads.
llvm-svn: 19562
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index ed363e111c4..2d264c0ed2f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/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) { |

