forked from OSchip/llvm-project
Fix `-Wunused-variable` warning. NFC.
This commit is contained in:
parent
45417b7aa7
commit
f6a3ac150b
|
@ -7578,7 +7578,7 @@ ABIArgInfo HexagonABIInfo::classifyReturnType(QualType RetTy) const {
|
|||
const TargetInfo &T = CGT.getTarget();
|
||||
uint64_t Size = getContext().getTypeSize(RetTy);
|
||||
|
||||
if (const auto *VecTy = RetTy->getAs<VectorType>()) {
|
||||
if (RetTy->getAs<VectorType>()) {
|
||||
// HVX vectors are returned in vector registers or register pairs.
|
||||
if (T.hasFeature("hvx")) {
|
||||
assert(T.hasFeature("hvx-length64b") || T.hasFeature("hvx-length128b"));
|
||||
|
|
Loading…
Reference in New Issue