mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Remove set but unused variable IsUndef.
llvm-svn: 323295
This commit is contained in:
parent
dd726895b3
commit
ac8acca571
@ -184,12 +184,11 @@ HexagonTargetLowering::buildHvxVectorReg(ArrayRef<SDValue> Values,
|
||||
}
|
||||
|
||||
unsigned NumWords = Words.size();
|
||||
bool IsUndef = true, IsSplat = true;
|
||||
bool IsSplat = true;
|
||||
SDValue SplatV;
|
||||
for (unsigned i = 0; i != NumWords && IsSplat; ++i) {
|
||||
if (isUndef(Words[i]))
|
||||
continue;
|
||||
IsUndef = false;
|
||||
if (!SplatV.getNode())
|
||||
SplatV = Words[i];
|
||||
else if (SplatV != Words[i])
|
||||
|
Loading…
Reference in New Issue
Block a user