projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
85aa709
)
Fix spurious warning in release mode
author
Chris Lattner
<sabre@nondot.org>
Sat, 10 Apr 2004 19:15:56 +0000
(19:15 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 10 Apr 2004 19:15:56 +0000
(19:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12816
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index be754d13c7abf02bb83717968c9296350e729772..944b83c520a1122c008e6aa928feaf6819038051 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-509,8
+509,10
@@
static Value *FoldOperationIntoSelectOperand(Instruction &BI, Value *SO,
New = BinaryOperator::create(BO->getOpcode(), Op0, Op1);
else if (ShiftInst *SI = dyn_cast<ShiftInst>(&BI))
New = new ShiftInst(SI->getOpcode(), Op0, Op1);
- else
+ else
{
assert(0 && "Unknown binary instruction type!");
+ abort();
+ }
return IC->InsertNewInstBefore(New, BI);
}