[llvm-commits] [llvm] r130053 - /llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sat Apr 23 01:21:06 PDT 2011
Author: d0k
Date: Sat Apr 23 03:21:06 2011
New Revision: 130053
URL: http://llvm.org/viewvc/llvm-project?rev=130053&view=rev
Log:
Silence an overzealous uninitialized variable warning from GCC.
Modified:
llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp?rev=130053&r1=130052&r2=130053&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Sat Apr 23 03:21:06 2011
@@ -1608,7 +1608,7 @@
if (Opcode != ISD::AND && ((Val >> ShlVal) << ShlVal) != Val)
break;
- unsigned ShlOp, Op;
+ unsigned ShlOp, Op = 0;
EVT CstVT = NVT;
// Check the minimum bitwidth for the new constant.
More information about the llvm-commits
mailing list