[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Jul 11 11:31:38 PDT 2006
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.498 -> 1.499
---
Log message:
Silence a warning produced in assertions-disabled mode
---
Diffs of the changes: (+1 -1)
InstructionCombining.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.498 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.499
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.498 Mon Jul 10 17:15:25 2006
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Tue Jul 11 13:31:26 2006
@@ -2902,7 +2902,7 @@
// If they do then *success* we can turn this into a bswap. Figure out what
// bswap to make it into.
Module *M = I.getParent()->getParent()->getParent();
- const char *FnName;
+ const char *FnName = 0;
if (I.getType() == Type::UShortTy)
FnName = "llvm.bswap.i16";
else if (I.getType() == Type::UIntTy)
More information about the llvm-commits
mailing list