[PATCH] D118920: [DAGCombiner] Fold `ty1 extract_vector(ty2 splat(V)) -> ty1 splat(V)`

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 7 02:30:21 PST 2022


david-arm accepted this revision.
david-arm added a comment.
This revision is now accepted and ready to land.

LGTM!



================
Comment at: llvm/test/CodeGen/AArch64/sve-extract-fixed-vector.ll:427
 
+;
+; Extract fixed-width vector from a scalable vector splat.
----------------
Is it worth having a fixed-width and scalable vector test when extracting a v1i32 or nxv1i32?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118920



More information about the llvm-commits mailing list