aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Herhut <herhut@google.com>2021-01-15 15:03:08 +0100
committerStephan Herhut <herhut@google.com>2021-01-15 15:10:33 +0100
commit061d1520858a6e394663e12cc715ddfe3ab0240d (patch)
tree8f4a0497197a468dd7577b2489e64546183fc6ee
parent0acc260b574e28f5247e8ad4d8c9805b8005c841 (diff)
downloadllvm-061d1520858a6e394663e12cc715ddfe3ab0240d.zip
llvm-061d1520858a6e394663e12cc715ddfe3ab0240d.tar.gz
llvm-061d1520858a6e394663e12cc715ddfe3ab0240d.tar.bz2
[SVE] Fix unused variable.
Introduced by [SVE] Restrict the usage of REINTERPRET_CAST. Differential Revision: https://reviews.llvm.org/D94773
-rw-r--r--llvm/lib/Target/AArch64/AArch64ISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
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) &&