Skip to content

Commit f09f9bc

Browse files
committed
[X86] Add TODO to remove getGSScalarCost and use BaseT / getCommonMaskedMemoryOpCost directly
There are only a few differences in the use of AddressSpace and getScalarizationOverhead that need to be handled.
1 parent 9b5155c commit f09f9bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/X86/X86TargetTransformInfo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5773,6 +5773,7 @@ InstructionCost X86TTIImpl::getGSVectorCost(unsigned Opcode,
57735773
/// VariableMask - The mask is non-constant at compile time.
57745774
/// Alignment - Alignment for one element.
57755775
/// AddressSpace - pointer[s] address space.
5776+
/// TODO: Remove this and use getCommonMaskedMemoryOpCost directly.
57765777
InstructionCost X86TTIImpl::getGSScalarCost(unsigned Opcode,
57775778
TTI::TargetCostKind CostKind,
57785779
Type *SrcVTy, bool VariableMask,

0 commit comments

Comments
 (0)