[PATCH] D53594: [GlobalISel] Introduce G_BUILD_VECTOR and G_CONCAT_VECTOR opcodes

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 11:27:50 PDT 2018


aemerson created this revision.
aemerson added reviewers: qcolombet, dsanders, ab, aditya_nandakumar, volkan, bogner, tstellar, aivchenk, Petar.Avramovic, jpaquette, rtereshin.
Herald added subscribers: kristina, javed.absar, kristof.beyls, rovka.
Herald added a reviewer: paquette.

Introduce G_BUILD_VECTOR and G_CONCAT_VECTOR opcodes.

These opcodes are intended to subsume some of the capability of G_MERGE_VALUES, as it was too powerful and thus complex to add deal with throughout the GISel pipeline.

G_BUILD_VECTOR creates a vector value from a sequence of uniformly typed scalar values.

G_CONCAT_VECTOR creates a vector by concatenating smaller, uniformly typed, vectors together.

These will be used in a subsequent commit. This commit just adds the initial infrastructure.


Repository:
  rL LLVM

https://reviews.llvm.org/D53594

Files:
  include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
  include/llvm/Support/TargetOpcodes.def
  include/llvm/Target/GenericOpcodes.td
  lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
  lib/CodeGen/MachineVerifier.cpp
  test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53594.170706.patch
Type: text/x-patch
Size: 7859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181023/d3e4245c/attachment.bin>


More information about the llvm-commits mailing list