[PATCH] D112318: [InstCombine] Extend pattern to replace shuffle's insertelement operand

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 2 01:34:31 PDT 2021


lebedev.ri accepted this revision.
lebedev.ri added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp:2294
   }
+  // The shuffle must not change vector sizes.
+  // TODO: This restriction could be removed if the insert has only one use
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112318/new/

https://reviews.llvm.org/D112318



More information about the llvm-commits mailing list