[PATCH] D109416: getVPMemoryOpCost interface

Bardia Mahjour via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 18 08:26:11 PDT 2021


bmahjour added inline comments.


================
Comment at: llvm/include/llvm/Analysis/TargetTransformInfo.h:1121
+  InstructionCost
+  getVPMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment,
+                    unsigned AddressSpace,
----------------
RolandF wrote:
> I prefer the downstream name getVariableLengthMemoryOpCost.  I'm not sure
> what VP stands for here and it seems like VP is already used in the context of VPlan.  At least explain in the comment.
VP stands for Vector Predication and is the name that the community has used for all the predicated intrinsics. See https://llvm.org/docs/LangRef.html#vector-predication-intrinsics


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109416



More information about the llvm-commits mailing list