From 39837024ae63efd646cf7f4ba99f96e090a93f42 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 24 Jan 2005 01:40:18 +0000 Subject: [PATCH] Fix a spurious warning. llvm-svn: 19799 --- llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp b/llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp index ae638c7c5f80..f7dcb680cd6a 100644 --- a/llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp +++ b/llvm/lib/Target/SparcV9/SparcV9BurgISel.cpp @@ -627,7 +627,7 @@ CreateSETUWConst(uint32_t C, bool smallNegValue =isSigned && sC < 0 && sC != -sC && -sC < (int32_t)MAXSIMM; //Create TmpInstruction for intermediate values - TmpInstruction *tmpReg; + TmpInstruction *tmpReg = 0; // Set the high 22 bits in dest if non-zero and simm13 field of OR not enough if (!smallNegValue && (C & ~MAXLO) && C > MAXSIMM) { -- GitLab