[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Apr 10 13:32:02 PDT 2004


Changes in directory llvm/lib/Target/X86:

InstSelectSimple.cpp updated: 1.222 -> 1.223

---
Log message:

Silence a spurious warning


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.222 llvm/lib/Target/X86/InstSelectSimple.cpp:1.223
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.222	Fri Apr  9 14:09:13 2004
+++ llvm/lib/Target/X86/InstSelectSimple.cpp	Sat Apr 10 13:32:01 2004
@@ -2670,7 +2670,7 @@
     // a larger signed value, then use FLD on the larger value.
     //
     const Type *PromoteType = 0;
-    unsigned PromoteOpcode;
+    unsigned PromoteOpcode = 0;
     unsigned RealDestReg = DestReg;
     switch (SrcTy->getPrimitiveID()) {
     case Type::BoolTyID:





More information about the llvm-commits mailing list