aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-16 02:23:34 +0000
committerChris Lattner <sabre@nondot.org>2005-01-16 02:23:34 +0000
commit9467497ae2aef3534623ca20d01f49f3441ea154 (patch)
treec52762e35c3382b142bec78ae958f6fe791dd5cb /lib/CodeGen/SelectionDAG
parent7636512f59e61429eae8839aa5c472c5e2f24b85 (diff)
Clarify assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 3c377ee142..d71eb7e433 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;