[PATCH] D69071: [GISel][CombinerHelper] Add concat_vectors(build_vector, build_vector) => build_vector

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 14:29:48 PDT 2019


qcolombet created this revision.
qcolombet added reviewers: aditya_nandakumar, volkan, aemerson, paquette, dsanders.
Herald added subscribers: Petar.Avramovic, kristof.beyls.
Herald added a project: LLVM.

Teach the combiner helper how to flatten concat_vectors of build_vectors
into a build_vector.

Add this combine as part of AArch64 pre-legalizer combiner.


Repository:
  rL LLVM

https://reviews.llvm.org/D69071

Files:
  include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  lib/CodeGen/GlobalISel/CombinerHelper.cpp
  lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
  test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-concat-vectors.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69071.225308.patch
Type: text/x-patch
Size: 9797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191016/b32a39c2/attachment.bin>


More information about the llvm-commits mailing list