[llvm] [Hexagon] Fix concat lowering for HVX for 64B vector length (PR #98318)
Brian Cain via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 10:20:04 PDT 2024
================
@@ -1748,7 +1748,7 @@ HexagonTargetLowering::LowerHvxConcatVectors(SDValue Op, SelectionDAG &DAG)
unsigned InpLen = ty(Op.getOperand(0)).getVectorNumElements();
MVT ByteTy = MVT::getVectorVT(MVT::i8, HwLen);
- SDValue S = DAG.getConstant(InpLen*BitBytes, dl, MVT::i32);
----------------
androm3da wrote:
Do you get the right behavior from this change if `InpLen*BitBytes > HwLen`? Does the test cover that case?
https://github.com/llvm/llvm-project/pull/98318
More information about the llvm-commits
mailing list