[llvm-commits] CVS: llvm/lib/VMCore/ConstantFolding.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Apr 10 20:30:01 PDT 2004
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.56 -> 1.57
---
Log message:
Add a missing break, which caused a crash in an obscure situation
---
Diffs of the changes: (+1 -0)
Index: llvm/lib/VMCore/ConstantFolding.cpp
diff -u llvm/lib/VMCore/ConstantFolding.cpp:1.56 llvm/lib/VMCore/ConstantFolding.cpp:1.57
--- llvm/lib/VMCore/ConstantFolding.cpp:1.56 Sun Apr 4 20:30:19 2004
+++ llvm/lib/VMCore/ConstantFolding.cpp Sat Apr 10 20:29:30 2004
@@ -685,6 +685,7 @@
CE1->getType()->isLosslesslyConvertibleTo(CE1Op0->getType()))
return evaluateRelation(CE1Op0,
Constant::getNullValue(CE1Op0->getType()));
+ break;
case Instruction::GetElementPtr:
// Ok, since this is a getelementptr, we know that the constant has a
More information about the llvm-commits
mailing list