[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Sep 22 15:34:01 PDT 2003


Changes in directory llvm/lib/Transforms/Scalar:

InstructionCombining.cpp updated: 1.122 -> 1.123

---
Log message:

Squelch warning


---
Diffs of the changes:

Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.122 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.123
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.122	Fri Sep 19 14:05:02 2003
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp	Mon Sep 22 15:33:21 2003
@@ -707,7 +707,7 @@
     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);





More information about the llvm-commits mailing list