[llvm] 061d152 - [SVE] Fix unused variable.

Stephan Herhut via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 06:11:01 PST 2021


Author: Stephan Herhut
Date: 2021-01-15T15:10:33+01:00
New Revision: 061d1520858a6e394663e12cc715ddfe3ab0240d

URL: https://github.com/llvm/llvm-project/commit/061d1520858a6e394663e12cc715ddfe3ab0240d
DIFF: https://github.com/llvm/llvm-project/commit/061d1520858a6e394663e12cc715ddfe3ab0240d.diff

LOG: [SVE] Fix unused variable.

Introduced by [SVE] Restrict the usage of REINTERPRET_CAST.

Differential Revision: https://reviews.llvm.org/D94773

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index d72eee5abc26..6e4ac0f711dd 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) &&


        


More information about the llvm-commits mailing list