[X86] X86CmovConverterPass::collectCmovCandidates - fix uninitialized variable warnings. NFCI.

llvm-svn: 361804
This commit is contained in:
Simon Pilgrim 2019-05-28 10:53:23 +00:00
parent c6578eefdd
commit 4b48aa0e30
1 changed files with 2 additions and 1 deletions

View File

@ -280,7 +280,8 @@ bool X86CmovConverterPass::collectCmovCandidates(
Group.clear();
// Condition code of first CMOV instruction current processed range and its
// opposite condition code.
X86::CondCode FirstCC, FirstOppCC, MemOpCC;
X86::CondCode FirstCC = X86::COND_INVALID, FirstOppCC = X86::COND_INVALID,
MemOpCC = X86::COND_INVALID;
// Indicator of a non CMOVrr instruction in the current processed range.
bool FoundNonCMOVInst = false;
// Indicator for current processed CMOV-group if it should be skipped.