From 061d1520858a6e394663e12cc715ddfe3ab0240d Mon Sep 17 00:00:00 2001 From: Stephan Herhut Date: Fri, 15 Jan 2021 15:03:08 +0100 Subject: [PATCH] [SVE] Fix unused variable. Introduced by [SVE] Restrict the usage of REINTERPRET_CAST. Differential Revision: https://reviews.llvm.org/D94773 --- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp index d72eee5..6e4ac0f 100644 --- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp +++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp @@ -17173,6 +17173,7 @@ SDValue AArch64TargetLowering::getSVESafeBitCast(EVT VT, SDValue Op, SDLoc DL(Op); EVT InVT = Op.getValueType(); const TargetLowering &TLI = DAG.getTargetLoweringInfo(); + (void)TLI; assert(VT.isScalableVector() && TLI.isTypeLegal(VT) && InVT.isScalableVector() && TLI.isTypeLegal(InVT) && -- 2.7.4