[PATCH] D108292: [Analysis][AArch64] Make fixed-width ordered reductions slightly more expensive

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 18 09:02:43 PDT 2021


david-arm added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:2005-2007
+      // Add on extra cost to reflect the impact on scheduling, since all the
+      // fadds end up being back-to-back. We still end up vectorizing for more
+      // computationally intensive loops.
----------------
dmgreen wrote:
> I don't know if we need to talk about this in terms of scheduling exactly - that will be very dependent on the cpu used. Perhaps just describe it in terms of "extra overheads on some cpus"
I've updated this comment in the commit!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108292



More information about the llvm-commits mailing list