forked from OSchip/llvm-project
Fix -Wunused-variable warning, NFC.
This commit is contained in:
parent
302e11cd97
commit
500d378ee5
|
@ -597,8 +597,8 @@ struct DenseStringElementsAttributeStorage
|
|||
return KeyTy(ty, data, llvm::hash_value(data), isKnownSplat);
|
||||
|
||||
// Handle the simple case of only one element.
|
||||
size_t numElements = ty.getNumElements();
|
||||
assert(numElements != 1 && "splat of 1 element should already be detected");
|
||||
assert(ty.getNumElements() != 1 &&
|
||||
"splat of 1 element should already be detected");
|
||||
|
||||
// Create the initial hash value with just the first element.
|
||||
const auto &firstElt = data.front();
|
||||
|
|
Loading…
Reference in New Issue