[llvm] [SLP]Remove emission of vector_insert/vector_extract intrinsics (PR #148007)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 07:18:28 PDT 2025


================
@@ -16864,10 +16877,13 @@ class BoUpSLP::ShuffleInstructionBuilder final : public BaseShuffleAnalysis {
                                          V, SimplifyQuery(*R.DL));
                                    }));
           unsigned InsertionIndex = Idx * getNumElements(ScalarTy);
+          Type *OrigScalarTy = ScalarTy;
----------------
RKSimon wrote:

add a comment why this is necessary

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


More information about the llvm-commits mailing list