[PATCH] D115448: [AArch64][SVE] Instcombine SDIV to ASRD

Peter Waller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 13 07:16:41 PST 2021


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

LGTM with a nit.



================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:1046
+    return None;
+  APInt Exponent = SplatConstantInt->getValue();
+
----------------
I think this would be better called `Divisor`.


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

https://reviews.llvm.org/D115448



More information about the llvm-commits mailing list