From: Chris Lattner Date: Sun, 16 Jan 2005 02:23:34 +0000 (+0000) Subject: Clarify assertion. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9467497ae2aef3534623ca20d01f49f3441ea154;p=oota-llvm.git Clarify assertion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19597 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 3c377ee142d..d71eb7e433c 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -388,7 +388,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) { break; } case Promote: - assert(0 && "Don't know what it means to promote this!"); + assert(0 && "CopyToReg should not require promotion!"); abort(); } break;