diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-12 03:25:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-12 03:25:41 +0000 |
commit | 9d956250f547eb50c453edcb83b9d1783ee1558c (patch) | |
tree | 4dd3b0be953f35ec72ea398552b8c3da0c62f87a /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 3678dbf69dbaa3bbb3a81056549b46e9fa12fc7e (diff) |
Don't memoize vloads in the load map! Don't memoize them anywhere here, let
getNode do it. This fixes CodeGen/Generic/2006-04-11-vecload.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index b58b67ed53..b95a85edd2 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1508,8 +1508,6 @@ SDOperand SelectionDAG::getLoad(MVT::ValueType VT, SDOperand SelectionDAG::getVecLoad(unsigned Count, MVT::ValueType EVT, SDOperand Chain, SDOperand Ptr, SDOperand SV) { - SDNode *&N = Loads[std::make_pair(Ptr, std::make_pair(Chain, EVT))]; - if (N) return SDOperand(N, 0); std::vector<SDOperand> Ops; Ops.reserve(5); Ops.push_back(Chain); |