[llvm] r254623 - [Hexagon] Remove variable unused in NDEBUG build
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 3 09:53:34 PST 2015
Author: kparzysz
Date: Thu Dec 3 11:53:34 2015
New Revision: 254623
URL: http://llvm.org/viewvc/llvm-project?rev=254623&view=rev
Log:
[Hexagon] Remove variable unused in NDEBUG build
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp?rev=254623&r1=254622&r2=254623&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp Thu Dec 3 11:53:34 2015
@@ -2380,9 +2380,8 @@ HexagonTargetLowering::LowerCONCAT_VECTO
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;
}
More information about the llvm-commits
mailing list