[PATCH] D113281: [AArch64][SVE] Generate ASRD instructions for power of 2 signed divides

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 25 06:27:00 PST 2021


paulwalker-arm added a comment.

The previous patch looked cleaner but had the issue of not working well for illegal types, whereas this patch works well but is a little more verbose than I was expected.  What about having the ASRD_MERGE_OP1 target specific node but introducing it as part of LowerFixedLengthVectorIntDivideToSVE.  I feel this will simplify the patch whilst maintaining it current capabilities and remove the frailty Eli described.  When it comes to optimising the intrinsic we could achieve this via instcombine.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113281



More information about the llvm-commits mailing list