summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-22 20:33:34 +0000
committerChris Lattner <sabre@nondot.org>2003-09-22 20:33:34 +0000
commit2caaaba3e90365b0ac6712b1986debc2a855994a (patch)
tree316b2ccbacd4ad7dd5006e2c4215ee169916ee4c /llvm/lib/Transforms/Scalar/InstructionCombining.cpp
parent6954f20e223f0202753afb5df0b130df387a6e5e (diff)
downloadbcm5719-llvm-2caaaba3e90365b0ac6712b1986debc2a855994a.tar.gz
bcm5719-llvm-2caaaba3e90365b0ac6712b1986debc2a855994a.zip
Squelch warning
llvm-svn: 8659
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
index 787c1a5caab..e69db1d463d 100644
--- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -707,7 +707,7 @@ struct FoldSetCCLogical {
case Instruction::And: Code = LHSCode & RHSCode; break;
case Instruction::Or: Code = LHSCode | RHSCode; break;
case Instruction::Xor: Code = LHSCode ^ RHSCode; break;
- default: assert(0 && "Illegal logical opcode!");
+ default: assert(0 && "Illegal logical opcode!"); return 0;
}
Value *RV = getSetCCValue(Code, LHS, RHS);
OpenPOWER on IntegriCloud