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:
f489fb2
)
Silence a bogus gcc warning
author
Chris Lattner
<sabre@nondot.org>
Sat, 20 May 2006 23:14:03 +0000
(23:14 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 20 May 2006 23:14:03 +0000
(23:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28422
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 f25ac97ef5c62070366003b7f6ac4b12cf3380f1..2a48fc06c94bc9fc4866fd7169596459fcd514fe 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-4822,7
+4822,7
@@
Value *InstCombiner::EvaluateInDifferentType(Value *V, const Type *Ty) {
// Otherwise, it must be an instruction.
Instruction *I = cast<Instruction>(V);
- Instruction *Res;
+ Instruction *Res
= 0
;
switch (I->getOpcode()) {
case Instruction::And:
case Instruction::Or: