make angry compilers happy again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22054 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/IA64/IA64ISelPattern.cpp b/lib/Target/IA64/IA64ISelPattern.cpp
index 3cd32ba..1ea16cc 100644
--- a/lib/Target/IA64/IA64ISelPattern.cpp
+++ b/lib/Target/IA64/IA64ISelPattern.cpp
@@ -816,7 +816,8 @@
// do the transformation, filling out 'ops'
lefevre(boothEncodedString, ops);
- SDOperand results[ops.size()]; // temporary results (of adds/subs of shifts)
+ assert(ops.size() < 80 && "constmul code has gone haywire\n");
+ SDOperand results[80]; // temporary results (of adds/subs of shifts)
// now turn 'ops' into DAG bits
for(unsigned i=0; i<ops.size(); i++) {