diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-29 15:57:19 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-29 15:57:19 +0000 |
commit | 8192568fbc75e548ea121be0fcb9ee1d2d6e61f9 (patch) | |
tree | ee969b4a3ded0199fcecc3dfb513640fe8235bbd /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 4642afdcc139c7a0882730957ac76c62a6f6389d (diff) | |
download | bcm5719-llvm-8192568fbc75e548ea121be0fcb9ee1d2d6e61f9.tar.gz bcm5719-llvm-8192568fbc75e548ea121be0fcb9ee1d2d6e61f9.zip |
tracking the instructions causing loads and stores provides more information than just the pointer being loaded or stored
llvm-svn: 22311
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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<PointerType>(V->getType())) && - "SrcValue is not a pointer?"); SDNode *&N = ValueNodes[std::make_pair(V, Offset)]; if (N) return SDOperand(N, 0); |