[llvm] [TTI][RISCV] Add cost modelling for intrinsic vp.load.ff (PR #160470)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 26 01:51:03 PDT 2025
================
@@ -1616,6 +1616,11 @@ class TargetTransformInfo {
TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput,
bool UseMaskForCond = false, bool UseMaskForGaps = false) const;
+ /// \return The cost of vp intrinsic vp.load.ff.
+ LLVM_ABI InstructionCost getFirstFaultLoadCost(
----------------
fhahn wrote:
But then wouldn't it make more sense to update `getVPMemoryOpCost` to take an intrinsic ID instead of adding another hook? `vp_load_ff` is after all a VP memory op....
https://github.com/llvm/llvm-project/pull/160470
More information about the llvm-commits
mailing list