diff --git a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp index ca52a618be4c..8b45350ce44c 100644 --- a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp +++ b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp @@ -79,7 +79,7 @@ struct OpenMPOpt { SmallVector ArgumentTypes; /// The declaration if available. - Function *Declaration; + Function *Declaration = nullptr; /// Uses of this runtime function per function containing the use. DenseMap> UsesMap;