summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetTransformInfo.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-07-31 14:19:32 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-07-31 14:19:32 +0000
commit3e9b3eb91deae79c4ac73ee6dfcab19af8a3ebe9 (patch)
tree3b2dd07ab296dfd708c8fa974de85518fa6ca6f4 /llvm/lib/Target/X86/X86TargetTransformInfo.h
parent5174866b1d5baf17a49635bc1db280fb8bbf57dc (diff)
downloadbcm5719-llvm-3e9b3eb91deae79c4ac73ee6dfcab19af8a3ebe9.tar.gz
bcm5719-llvm-3e9b3eb91deae79c4ac73ee6dfcab19af8a3ebe9.zip
[Cost] Rename getReductionCost() to getArithmeticReductionCost(), NFC.
llvm-svn: 309563
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetTransformInfo.h')
-rw-r--r--llvm/lib/Target/X86/X86TargetTransformInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86TargetTransformInfo.h b/llvm/lib/Target/X86/X86TargetTransformInfo.h
index ad0a0a21130..dea4ab752d6 100644
--- a/llvm/lib/Target/X86/X86TargetTransformInfo.h
+++ b/llvm/lib/Target/X86/X86TargetTransformInfo.h
@@ -85,7 +85,8 @@ public:
ArrayRef<Value *> Args, FastMathFlags FMF,
unsigned VF = 1);
- int getReductionCost(unsigned Opcode, Type *Ty, bool IsPairwiseForm);
+ int getArithmeticReductionCost(unsigned Opcode, Type *Ty,
+ bool IsPairwiseForm);
int getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy,
unsigned Factor, ArrayRef<unsigned> Indices,
OpenPOWER on IntegriCloud