[llvm] [TTI][RISCV] Add cost modelling for intrinsic vp.load.ff (PR #160470)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 22:57:28 PDT 2025


================
@@ -425,6 +425,10 @@ class RISCVTargetLowering : public TargetLowering {
   /// alignment is legal.
   bool isLegalStridedLoadStore(EVT DataType, Align Alignment) const;
 
+  /// Return true if a fault-only-first load of the given result type and
+  /// alignment is legal.
+  bool isLegalFaultOnlyFirstLoad(EVT DataType, Align Alignment) const;
----------------
arcbbb wrote:

Let's fix the langref first in https://github.com/llvm/llvm-project/pull/160649, then I'll update this patch accordingly.

https://github.com/llvm/llvm-project/pull/160470


More information about the llvm-commits mailing list