diff options
author | Clement Courbet <courbet@google.com> | 2019-06-25 08:04:13 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2019-06-25 08:04:13 +0000 |
commit | 3bc5ad551a4fd947bcc7f417ae5bedbe0d6f0cdf (patch) | |
tree | 5ec40ec057c4beac4d809e4f4a6448b57288535c /llvm/lib/Target/X86/X86TargetTransformInfo.h | |
parent | 92c32574771465606807dea77c928c4d7768bbe9 (diff) | |
download | bcm5719-llvm-3bc5ad551a4fd947bcc7f417ae5bedbe0d6f0cdf.tar.gz bcm5719-llvm-3bc5ad551a4fd947bcc7f417ae5bedbe0d6f0cdf.zip |
[ExpandMemCmp] Move all options to TargetTransformInfo.
Split off from D60318.
llvm-svn: 364281
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetTransformInfo.h')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetTransformInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86TargetTransformInfo.h b/llvm/lib/Target/X86/X86TargetTransformInfo.h index f43155e3838..25d9c33eb16 100644 --- a/llvm/lib/Target/X86/X86TargetTransformInfo.h +++ b/llvm/lib/Target/X86/X86TargetTransformInfo.h @@ -199,8 +199,8 @@ public: bool areFunctionArgsABICompatible(const Function *Caller, const Function *Callee, SmallPtrSetImpl<Argument *> &Args) const; - const TTI::MemCmpExpansionOptions *enableMemCmpExpansion( - bool IsZeroCmp) const; + TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, + bool IsZeroCmp) const; bool enableInterleavedAccessVectorization(); private: int getGSScalarCost(unsigned Opcode, Type *DataTy, bool VariableMask, |