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

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 9 06:36:49 PST 2022


sdesmalen added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/sve-extract-fixed-vector.ll:427
 
+;
+; Extract fixed-width vector from a scalable vector splat.
----------------
david-arm wrote:
> Is it worth having a fixed-width and scalable vector test when extracting a v1i32 or nxv1i32?
I'm not sure if that would be testing anything in this patch specifically.


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