Skip to content

Commit 821aa5a

Browse files
author
git apple-llvm automerger
committed
Merge commit '93b91730757c' from llvm.org/main into next
2 parents 9ab8687 + 93b9173 commit 821aa5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/include/llvm/Analysis/TargetTransformInfo.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,9 @@ class TargetTransformInfo {
15351535
Type *EltTy, int ReplicationFactor, int VF, const APInt &DemandedDstElts,
15361536
TTI::TargetCostKind CostKind) const;
15371537

1538-
/// \return The cost of Load and Store instructions.
1538+
/// \return The cost of Load and Store instructions. The operand info
1539+
/// \p OpdInfo should refer to the stored value for stores and the address
1540+
/// for loads.
15391541
LLVM_ABI InstructionCost getMemoryOpCost(
15401542
unsigned Opcode, Type *Src, Align Alignment, unsigned AddressSpace,
15411543
TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput,

0 commit comments

Comments
 (0)