Skip to content

Commit 0bd90ec

Browse files
[AArch64] Fix a warning
This patch fixes: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:6102:9: error: unused variable 'OpVT' [-Werror,-Wunused-variable]
1 parent a625435 commit 0bd90ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6106,6 +6106,7 @@ SDValue AArch64TargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op,
61066106
OpVT == MVT::v8i16 || OpVT == MVT::v4i16)) ||
61076107
(ResVT == MVT::i64 && (OpVT == MVT::v4i32 || OpVT == MVT::v2i32))) &&
61086108
"Unexpected aarch64_neon_u/saddlv type");
6109+
(void)OpVT;
61096110
// In order to avoid insert_subvector, use v4i32 rather than v2i32.
61106111
SDValue ADDLV = DAG.getNode(
61116112
IntNo == Intrinsic::aarch64_neon_uaddlv ? AArch64ISD::UADDLV

0 commit comments

Comments
 (0)