projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adb7c0d
)
Add a missing break, which caused a crash in an obscure situation
author
Chris Lattner
<sabre@nondot.org>
Sun, 11 Apr 2004 01:29:30 +0000
(
01:29
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 11 Apr 2004 01:29:30 +0000
(
01:29
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12825
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/ConstantFold.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/ConstantFold.cpp
b/lib/VMCore/ConstantFold.cpp
index 1fee5012b45611db4a3e73ae16edda25f308cb61..641ceaebc233068755188a99c2b6a42811cff4e6 100644
(file)
--- a/
lib/VMCore/ConstantFold.cpp
+++ b/
lib/VMCore/ConstantFold.cpp
@@
-685,6
+685,7
@@
static Instruction::BinaryOps evaluateRelation(const Constant *V1,
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