From 8192568fbc75e548ea121be0fcb9ee1d2d6e61f9 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Wed, 29 Jun 2005 15:57:19 +0000 Subject: tracking the instructions causing loads and stores provides more information than just the pointer being loaded or stored llvm-svn: 22311 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp') diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 8a34a59a15e..8614e3ec4b6 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1394,8 +1394,6 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, } SDOperand SelectionDAG::getSrcValue(const Value *V, int Offset) { - assert((!V || isa(V->getType())) && - "SrcValue is not a pointer?"); SDNode *&N = ValueNodes[std::make_pair(V, Offset)]; if (N) return SDOperand(N, 0); -- cgit v1.2.3