[PATCH] D141902: [GlobalISel] Detect splats built with G_CONCAT_VECTORS

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 08:22:44 PST 2023


arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: wdng.

This suggests to me we're missing some useful vector combines, but I don't see a problem having this handle this case also



================
Comment at: llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp:799
 }
 
 TEST_F(AArch64GISelMITest, MatchNeg) {
----------------
Could use a case with some undefs in it (undef simple element and undef vector component)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141902



More information about the llvm-commits mailing list