diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-04-05 12:14:47 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-04-05 13:16:27 +0100 |
commit | f09f9bc0aafc1e9d0670b4a995ad5f610fc3c7bc (patch) | |
tree | 62f2af44cd7bb649681721fadda8d525aaa676e1 /llvm | |
parent | 9b5155c93616563165c9d8da5f15aa1f1260d2d2 (diff) | |
download | llvm-f09f9bc0aafc1e9d0670b4a995ad5f610fc3c7bc.zip llvm-f09f9bc0aafc1e9d0670b4a995ad5f610fc3c7bc.tar.gz llvm-f09f9bc0aafc1e9d0670b4a995ad5f610fc3c7bc.tar.bz2 |
[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.
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86TargetTransformInfo.cpp b/llvm/lib/Target/X86/X86TargetTransformInfo.cpp index 099abbe..5d1810b 100644 --- a/llvm/lib/Target/X86/X86TargetTransformInfo.cpp +++ b/llvm/lib/Target/X86/X86TargetTransformInfo.cpp @@ -5773,6 +5773,7 @@ InstructionCost X86TTIImpl::getGSVectorCost(unsigned Opcode, /// VariableMask - The mask is non-constant at compile time. /// Alignment - Alignment for one element. /// AddressSpace - pointer[s] address space. +/// TODO: Remove this and use getCommonMaskedMemoryOpCost directly. InstructionCost X86TTIImpl::getGSScalarCost(unsigned Opcode, TTI::TargetCostKind CostKind, Type *SrcVTy, bool VariableMask, |