[all-commits] [llvm/llvm-project] f40c69: [TTI] Use MemIntrinsicCostAttributes for getExpand...
Shih-Po Hung via All-commits
all-commits at lists.llvm.org
Thu Nov 27 20:19:44 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f40c69471331e18176c01d08161f2e51ab7367cb
https://github.com/llvm/llvm-project/commit/f40c69471331e18176c01d08161f2e51ab7367cb
Author: Shih-Po Hung <shihpo.hung at sifive.com>
Date: 2025-11-28 (Fri, 28 Nov 2025)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
Log Message:
-----------
[TTI] Use MemIntrinsicCostAttributes for getExpandCompressMemoryOpCost (#168677)
- Following #168029. This is a step toward a unified interface for
masked/gather-scatter/strided/expand-compress cost modeling.
- Replace the ad-hoc parameter list with a single attributes object.
API change:
```
- InstructionCost getExpandCompressMemoryOpCost(Opcode, DataTy,
- VariableMask, Alignment,
- CostKind, Inst);
+ InstructionCost getExpandCompressMemoryOpCost(MemIntrinsicCostAttributes,
+ CostKind);
```
Notes:
- NFCI intended: callers populate MemIntrinsicCostAttributes with same
information as before.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list