From 7709aa0e07872e5088c6030e33915d7596e2fec4 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Thu, 3 Dec 2015 17:53:34 +0000 Subject: [PATCH] [Hexagon] Remove variable unused in NDEBUG build llvm-svn: 254623 --- llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp b/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp index a75f391a4eea..b59fe6b67044 100644 --- a/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp +++ b/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp @@ -2380,9 +2380,8 @@ HexagonTargetLowering::LowerCONCAT_VECTORS(SDValue Op, if (UseHVX) { SDValue Vec0 = Op.getOperand(1); - uint64_t VS = VecVT.getSizeInBits(); - assert((VS == 64*8 && Subtarget.useHVXSglOps()) || - (VS == 128*8 && Subtarget.useHVXDblOps())); + assert((VecVT.getSizeInBits() == 64*8 && Subtarget.useHVXSglOps()) || + (VecVT.getSizeInBits() == 128*8 && Subtarget.useHVXDblOps())); SDValue Combined = DAG.getNode(HexagonISD::VCOMBINE, dl, VT, Vec0, Vec); return Combined; }