[PATCH] D101167: [AArch64][SVE] Convert svdup(vec, SV_VL1, elm) to insertelement(vec, elm, 0)

Bradley Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 26 03:30:47 PDT 2021


bsmith added a comment.

In D101167#2716076 <https://reviews.llvm.org/D101167#2716076>, @joechrisellis wrote:

> Not necessarily for this commit, but I ended up implementing a similar optimisation myself as part of some other work. Something else we could do is recognise when a series of DUP calls is the same as a series of insertelement calls. For example:

@joechrisellis I think that should probably be a separate patch, but yes, good idea :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101167



More information about the llvm-commits mailing list