From 3759d20b0f9d9c08a313c908312a128dcd68b082 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 29 Mar 2005 15:13:27 +0000 Subject: [PATCH] fix a warning in the optimized build llvm-svn: 20920 --- lib/Target/PowerPC/PPC32ISelPattern.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/PowerPC/PPC32ISelPattern.cpp b/lib/Target/PowerPC/PPC32ISelPattern.cpp index fcd8f438f10..d408db38ca2 100644 --- a/lib/Target/PowerPC/PPC32ISelPattern.cpp +++ b/lib/Target/PowerPC/PPC32ISelPattern.cpp @@ -729,6 +729,8 @@ unsigned ISel::SelectExpr(SDOperand N) { if (sext && byte) { Tmp3 = Result; Result = MakeReg(MVT::i32); + } else { + Tmp3 = 0; // Silence GCC warning. } if(Address.getOpcode() == ISD::FrameIndex) { BuildMI(BB, Opc, 2, Result)