[all-commits] [llvm/llvm-project] f0eeb3: [GISel][CombinerHelper] Combine shuffle_vector sca...
qcolombet via All-commits
all-commits at lists.llvm.org
Wed Oct 30 18:40:20 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f0eeb3c7a7136dd043b792ff2d321ad492db203a
https://github.com/llvm/llvm-project/commit/f0eeb3c7a7136dd043b792ff2d321ad492db203a
Author: Quentin Colombet <qcolombet at apple.com>
Date: 2019-10-30 (Wed, 30 Oct 2019)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-shuffle-vector.mir
Log Message:
-----------
[GISel][CombinerHelper] Combine shuffle_vector scalar to build_vector
Teach the combiner helper how to replace shuffle_vector of scalars
into build_vector.
I am not particularly happy about having to add this combine, but we
currently get those from <1 x iN> from the IR.
Bonus: This fixes an assert in the shuffle_vector combines since before
this patch, we were expecting vector types.
More information about the All-commits
mailing list