summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-23 16:12:20 +0000
committerChris Lattner <sabre@nondot.org>2005-12-23 16:12:20 +0000
commitc7037abc5bb9cd585ad6a927755425e60ec0591a (patch)
tree164e534c2be7fc91e34aa9aa2d1f84eeacabd726 /llvm/lib/CodeGen
parent4f52796f7958ff69b537c75082252ca466c3bcda (diff)
downloadbcm5719-llvm-c7037abc5bb9cd585ad6a927755425e60ec0591a.tar.gz
bcm5719-llvm-c7037abc5bb9cd585ad6a927755425e60ec0591a.zip
unbreak the build :-/
llvm-svn: 24992
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 7d7c785d9b3..af1d47697a5 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -1384,6 +1384,9 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
Tmp3 = LegalizeOp(Node->getOperand(2)); // Legalize the pointer.
switch (getTypeAction(Node->getOperand(1).getValueType())) {
+ case Promote:
+ case Expand:
+ assert(0 && "Cannot handle illegal TRUNCSTORE yet!");
case Legal:
Tmp2 = LegalizeOp(Node->getOperand(1));
@@ -1420,9 +1423,6 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
break;
}
break;
- case Promote:
- case Expand:
- assert(0 && "Cannot handle illegal TRUNCSTORE yet!");
}
break;
}
OpenPOWER on IntegriCloud