diff options
author | Sanjay Patel <spatel@rotateright.com> | 2014-09-10 17:58:16 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2014-09-10 17:58:16 +0000 |
commit | b653de1ada7e76a28bcc35402e6cd70f725e0690 (patch) | |
tree | 609443fa6f29272b23753ac3175aedd5dac18a5d /llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp | |
parent | e4f6684d1bbebd464c6cff6b424bce400676250f (diff) | |
download | llvm-b653de1ada7e76a28bcc35402e6cd70f725e0690.zip llvm-b653de1ada7e76a28bcc35402e6cd70f725e0690.tar.gz llvm-b653de1ada7e76a28bcc35402e6cd70f725e0690.tar.bz2 |
Rename getMaximumUnrollFactor -> getMaxInterleaveFactor; also rename option names controlling this variable.
"Unroll" is not the appropriate name for this variable. Clang already uses
the term "interleave" in pragmas and metadata for this.
Differential Revision: http://reviews.llvm.org/D5066
llvm-svn: 217528
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp index d3d712c..0cb88c1 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp @@ -90,7 +90,7 @@ public: unsigned getNumberOfRegisters(bool Vector) const override; unsigned getRegisterBitWidth(bool Vector) const override; - unsigned getMaximumUnrollFactor() const override; + unsigned getMaxInterleaveFactor() const override; unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty, OperandValueKind, OperandValueKind, OperandValueProperties, OperandValueProperties) const override; @@ -295,7 +295,7 @@ unsigned PPCTTI::getRegisterBitWidth(bool Vector) const { } -unsigned PPCTTI::getMaximumUnrollFactor() const { +unsigned PPCTTI::getMaxInterleaveFactor() const { unsigned Directive = ST->getDarwinDirective(); // The 440 has no SIMD support, but floating-point instructions // have a 5-cycle latency, so unroll by 5x for latency hiding. |