forked from OSchip/llvm-project
[OpenMPOpt] Initialize value to avoid use of uninitialized memory
This should fix the issue reported here: https://reviews.llvm.org/D76058#1937554
This commit is contained in:
parent
02187ed45a
commit
f09f4b2676
|
@ -79,7 +79,7 @@ struct OpenMPOpt {
|
|||
SmallVector<Type *, 8> ArgumentTypes;
|
||||
|
||||
/// The declaration if available.
|
||||
Function *Declaration;
|
||||
Function *Declaration = nullptr;
|
||||
|
||||
/// Uses of this runtime function per function containing the use.
|
||||
DenseMap<Function *, SmallPtrSet<Use *, 16>> UsesMap;
|
||||
|
|
Loading…
Reference in New Issue