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.
Paths
| Differential D69071
[GISel][CombinerHelper] Add concat_vectors(build_vector, build_vector) => build_vector ClosedPublic Authored by qcolombet on Oct 16 2019, 2:28 PM.
Details Summary Teach the combiner helper how to flatten concat_vectors of build_vectors Add this combine as part of AArch64 pre-legalizer combiner.
Diff Detail
Event Timelinearsenm added inline comments.
qcolombet added inline comments.
This revision is now accepted and ready to land.Oct 16 2019, 3:44 PM qcolombet marked 2 inline comments as done. Comment Actions
Closed by commit rGc319afc903d8: [GISel][CombinerHelper] Add concat_vectors(build_vector, build_vector) =>… (authored by qcolombet). · Explain WhyOct 16 2019, 5:38 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 225328 include/llvm/CodeGen/GlobalISel/CombinerHelper.h
lib/CodeGen/GlobalISel/CombinerHelper.cpp
lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-concat-vectors.mir
|
ArrayRef?