[llvm] [TTI][Vectorize] Migrate masked/gather-scatter/strided/expand-compress costing (NFCI) (PR #165532)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 02:07:50 PST 2025


================
@@ -1678,6 +1632,20 @@ class TargetTransformInfo {
   LLVM_ABI InstructionCost getIntrinsicInstrCost(
       const IntrinsicCostAttributes &ICA, TTI::TargetCostKind CostKind) const;
 
+  /// \returns The cost of memory Intrinsic instructions.
+  /// It is used when IntrinsicInst is not meterialized.
----------------
lukel97 wrote:

```suggestion
  /// \returns The cost of memory intrinsic instructions.
  /// Used when IntrinsicInst is not materialized.
```

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


More information about the llvm-commits mailing list