diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index ef27bc19bd2..f7c7535eb63 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1481,7 +1481,7 @@ public: unsigned getAlignment() const { return Alignment; } bool isVolatile() const { return IsVolatile; } - static bool classof(const LoadSDNode *) { return true; } + static bool classof(const StoreSDNode *) { return true; } static bool classof(const SDNode *N) { return N->getOpcode() == ISD::STORE; }