Fix uninitialized variable warnings. NFCI.

Both MSVC and cppcheck don't like the fact that the variables are initialized via references.

llvm-svn: 365018
This commit is contained in:
Simon Pilgrim 2019-07-03 10:22:08 +00:00
parent 080014ee6d
commit 64e3a51534
1 changed files with 1 additions and 1 deletions

View File

@ -13235,7 +13235,7 @@ static SDValue lowerV8I16GeneralSingleInputShuffle(
// a half by taking the sum of the half with three inputs and subtracting
// the sum of the actual three inputs. The difference is the remaining
// slot.
int ADWord, BDWord;
int ADWord = 0, BDWord = 0;
int &TripleDWord = ThreeAInputs ? ADWord : BDWord;
int &OneInputDWord = ThreeAInputs ? BDWord : ADWord;
int TripleInputOffset = ThreeAInputs ? AOffset : BOffset;