summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-12 03:25:41 +0000
committerChris Lattner <sabre@nondot.org>2006-04-12 03:25:41 +0000
commit417b96b6dd5d4f7a8662677bf2733102e9c43aa8 (patch)
treee3d04d2174b43a026160fee8cef975e55a1d24aa /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent8d6750053329be8b732ec1c032f6a2fcb548b7a2 (diff)
downloadbcm5719-llvm-417b96b6dd5d4f7a8662677bf2733102e9c43aa8.tar.gz
bcm5719-llvm-417b96b6dd5d4f7a8662677bf2733102e9c43aa8.zip
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 llvm-svn: 27602
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index b58b67ed534..b95a85edd26 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud