[llvm] [AArch64][GlobalISel] Combine G_EXTRACT_VECTOR_ELT and G_BUILD_VECTOR sequences into G_SHUFFLE_VECTOR (PR #110545)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 23:56:30 PDT 2024


================
@@ -772,8 +772,6 @@ MachineInstrBuilder MachineIRBuilder::buildShuffleVector(const DstOp &Res,
   LLT DstTy = Res.getLLTTy(*getMRI());
   LLT Src1Ty = Src1.getLLTTy(*getMRI());
   LLT Src2Ty = Src2.getLLTTy(*getMRI());
-  assert((size_t)(Src1Ty.getNumElements() + Src2Ty.getNumElements()) >=
----------------
tschuett wrote:

Why did this assert start failing with your PR? It seemed to work before.

https://github.com/llvm/llvm-project/pull/110545


More information about the llvm-commits mailing list