[PATCH] D103629: [AArch64] Cost-model i8 vector loads/stores

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 3 09:28:27 PDT 2021


sdesmalen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:1260
+    if (cast<FixedVectorType>(Ty)->getNumElements() < ProfitableNumElements)
+      return cast<FixedVectorType>(Ty)->getNumElements() * 2;
   }
----------------
Should the "else" case still be the original high cost? (or some other high cost)


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

https://reviews.llvm.org/D103629



More information about the llvm-commits mailing list