[PATCH] D127595: [DAG] visitINSERT_VECTOR_ELT - attempt to reconstruct BUILD_VECTOR before other fold interfere

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 01:58:00 PDT 2022


deadalnix added a comment.

In D127595#3577082 <https://reviews.llvm.org/D127595#3577082>, @foad wrote:

> Personally I think IR should have a `buildvector` instruction //instead of// an `insertelement` instruction. :)

The proliferation of option to build a vector are probably playing against us, indeed. build_vector, insert_element, vector_shuffle, etc...

We are bound to miss patterns.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127595



More information about the llvm-commits mailing list