[llvm] r372508 - Fix uninitialized variable warning. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 22 06:43:22 PDT 2019
Author: rksimon
Date: Sun Sep 22 06:43:21 2019
New Revision: 372508
URL: http://llvm.org/viewvc/llvm-project?rev=372508&view=rev
Log:
Fix uninitialized variable warning. NFCI.
Modified:
llvm/trunk/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsSEISelDAGToDAG.cpp?rev=372508&r1=372507&r2=372508&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsSEISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsSEISelDAGToDAG.cpp Sun Sep 22 06:43:21 2019
@@ -970,7 +970,7 @@ bool MipsSEDAGToDAGISel::trySelect(SDNod
break;
}
- SDNode *Res;
+ SDNode *Res = nullptr;
// If we have a signed 10 bit integer, we can splat it directly.
//
More information about the llvm-commits
mailing list