[PATCH] D108558: [AArch64][SVE] Teach cost model masked gathers/scatters are cheap

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 23 11:50:12 PDT 2021


efriedma added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:1593
+  if(isa<FixedVectorType>(DataTy))
+    return (LT.first * MemOpCost * MaxNumElements) / MaxNumElements;
+  else
----------------
"MaxNumElements / MaxNumElements"?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108558



More information about the llvm-commits mailing list