Don't memoize vloads in the load map! Don't memoize them anywhere here, let
authorChris Lattner <sabre@nondot.org>
Wed, 12 Apr 2006 03:25:41 +0000 (03:25 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 12 Apr 2006 03:25:41 +0000 (03:25 +0000)
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

lib/CodeGen/SelectionDAG/SelectionDAG.cpp

index b58b67ed5346487be9e25988ded5cb81c22bf186..b95a85edd260565bb27360a4794521e04e5947c9 100644 (file)
@@ -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);