[llvm] r324352 - [Hexagon] Remove leftover assert
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 07:15:13 PST 2018
Author: kparzysz
Date: Tue Feb 6 07:15:13 2018
New Revision: 324352
URL: http://llvm.org/viewvc/llvm-project?rev=324352&view=rev
Log:
[Hexagon] Remove leftover assert
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp?rev=324352&r1=324351&r2=324352&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp Tue Feb 6 07:15:13 2018
@@ -75,10 +75,8 @@ HexagonTargetLowering::VectorPair
HexagonTargetLowering::opSplit(SDValue Vec, const SDLoc &dl,
SelectionDAG &DAG) const {
TypePair Tys = typeSplit(ty(Vec));
- if (Vec.getOpcode() == HexagonISD::QCAT) {
-assert(0);
+ if (Vec.getOpcode() == HexagonISD::QCAT)
return VectorPair(Vec.getOperand(0), Vec.getOperand(1));
- }
return DAG.SplitVector(Vec, dl, Tys.first, Tys.second);
}
More information about the llvm-commits
mailing list