diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-10 18:32:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-10 18:32:01 +0000 |
commit | 85aa7097c2c6c9429d0ff09fa5e498ae84dbce9c (patch) | |
tree | 8c35dae549772f3c9b31825d4bd2efe148c14f3f | |
parent | a5f4103931346d7abc33f5a2dd21a5cf7666c9cb (diff) | |
download | external_llvm-85aa7097c2c6c9429d0ff09fa5e498ae84dbce9c.zip external_llvm-85aa7097c2c6c9429d0ff09fa5e498ae84dbce9c.tar.gz external_llvm-85aa7097c2c6c9429d0ff09fa5e498ae84dbce9c.tar.bz2 |
Silence a spurious warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12815 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/InstSelectSimple.cpp | 2 | ||||
-rw-r--r-- | lib/Target/X86/X86ISelSimple.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp index 7a1f54e..9858782 100644 --- a/lib/Target/X86/InstSelectSimple.cpp +++ b/lib/Target/X86/InstSelectSimple.cpp @@ -2670,7 +2670,7 @@ void ISel::emitCastOperation(MachineBasicBlock *BB, // 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: diff --git a/lib/Target/X86/X86ISelSimple.cpp b/lib/Target/X86/X86ISelSimple.cpp index 7a1f54e..9858782 100644 --- a/lib/Target/X86/X86ISelSimple.cpp +++ b/lib/Target/X86/X86ISelSimple.cpp @@ -2670,7 +2670,7 @@ void ISel::emitCastOperation(MachineBasicBlock *BB, // 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: |