[PATCH] D97858: [AArch64][SVE] Fold vector ZExt/SExt into gather loads where possible

Peter Waller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 4 01:58:39 PST 2021


peterwaller-arm added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:14387
+
+  // If the offset is sign- or zero-extended...
+  if (OffsetIsSExt || OffsetIsZExt) {
----------------
This comment (and below) is merely a re-expression of the code on the next line, where a message indicating the intent may be more useful -- something like "Fold sign/zero extensions of vector offsets into GLD1 nodes where possible".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97858



More information about the llvm-commits mailing list