forked from OSchip/llvm-project
RISCVABIInfo::classifyArgumentType: Fix static analyzer warnings with uninitialized variables warnings - NFCI
Differential Revision: https://reviews.llvm.org/D100172
This commit is contained in:
parent
68d62fe068
commit
5d7cb79416
|
@ -10700,8 +10700,8 @@ ABIArgInfo RISCVABIInfo::classifyArgumentType(QualType Ty, bool IsFixed,
|
|||
llvm::Type *Field2Ty = nullptr;
|
||||
CharUnits Field1Off = CharUnits::Zero();
|
||||
CharUnits Field2Off = CharUnits::Zero();
|
||||
int NeededArgGPRs;
|
||||
int NeededArgFPRs;
|
||||
int NeededArgGPRs = 0;
|
||||
int NeededArgFPRs = 0;
|
||||
bool IsCandidate =
|
||||
detectFPCCEligibleStruct(Ty, Field1Ty, Field1Off, Field2Ty, Field2Off,
|
||||
NeededArgGPRs, NeededArgFPRs);
|
||||
|
|
Loading…
Reference in New Issue