[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelPattern.cpp
Duraid Madina
duraid at octopus.com.au
Sun May 15 07:44:25 PDT 2005
Changes in directory llvm/lib/Target/IA64:
IA64ISelPattern.cpp updated: 1.42 -> 1.43
---
Log message:
make angry compilers happy again
---
Diffs of the changes: (+2 -1)
IA64ISelPattern.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/IA64/IA64ISelPattern.cpp
diff -u llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.42 llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.43
--- llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.42 Fri May 13 15:29:26 2005
+++ llvm/lib/Target/IA64/IA64ISelPattern.cpp Sun May 15 09:44:13 2005
@@ -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++) {
More information about the llvm-commits
mailing list