From: Stephan Herhut Date: Fri, 15 Jan 2021 14:03:08 +0000 (+0100) Subject: [SVE] Fix unused variable. X-Git-Tag: llvmorg-13-init~1090 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=061d1520858a6e394663e12cc715ddfe3ab0240d;p=platform%2Fupstream%2Fllvm.git [SVE] Fix unused variable. Introduced by [SVE] Restrict the usage of REINTERPRET_CAST. Differential Revision: https://reviews.llvm.org/D94773 --- 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) &&