diff options
| author | Fangrui Song <i@maskray.me> | 2025-06-20 20:13:04 -0700 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2025-06-20 20:13:04 -0700 |
| commit | 95fbfc9be5d2842a945c04a20fe6244df9b10e18 (patch) | |
| tree | 00f80558d11aa5805e6d6f290663c6da44e5e6ef /llvm/lib/Analysis/TargetTransformInfo.cpp | |
| parent | a9ba028b98ffd53d9c7d00ca7563d74810fcf6e7 (diff) | |
| parent | 17e8465a3eb0cae48b9f62d27fd26f2b070f1f9b (diff) | |
[𝘀𝗽𝗿] changes introduced through rebaseusers/MaskRay/spr/main.move-relocation-specifier-constants-to-aarch64
Created using spr 1.3.5-bogner
[skip ci]
Diffstat (limited to 'llvm/lib/Analysis/TargetTransformInfo.cpp')
| -rw-r--r-- | llvm/lib/Analysis/TargetTransformInfo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/TargetTransformInfo.cpp b/llvm/lib/Analysis/TargetTransformInfo.cpp index 2d053e55bdfa..8cc7f8a9d2ab 100644 --- a/llvm/lib/Analysis/TargetTransformInfo.cpp +++ b/llvm/lib/Analysis/TargetTransformInfo.cpp @@ -871,10 +871,11 @@ bool TargetTransformInfo::shouldPrefetchAddressSpace(unsigned AS) const { InstructionCost TargetTransformInfo::getPartialReductionCost( unsigned Opcode, Type *InputTypeA, Type *InputTypeB, Type *AccumType, ElementCount VF, PartialReductionExtendKind OpAExtend, - PartialReductionExtendKind OpBExtend, std::optional<unsigned> BinOp) const { + PartialReductionExtendKind OpBExtend, std::optional<unsigned> BinOp, + TTI::TargetCostKind CostKind) const { return TTIImpl->getPartialReductionCost(Opcode, InputTypeA, InputTypeB, AccumType, VF, OpAExtend, OpBExtend, - BinOp); + BinOp, CostKind); } unsigned TargetTransformInfo::getMaxInterleaveFactor(ElementCount VF) const { @@ -1454,9 +1455,8 @@ bool TargetTransformInfo::enableScalableVectorization() const { return TTIImpl->enableScalableVectorization(); } -bool TargetTransformInfo::hasActiveVectorLength(unsigned Opcode, Type *DataType, - Align Alignment) const { - return TTIImpl->hasActiveVectorLength(Opcode, DataType, Alignment); +bool TargetTransformInfo::hasActiveVectorLength() const { + return TTIImpl->hasActiveVectorLength(); } bool TargetTransformInfo::isProfitableToSinkOperands( |
