diff options
| author | Chen Zheng <czhengsz@cn.ibm.com> | 2019-06-19 01:26:31 +0000 |
|---|---|---|
| committer | Chen Zheng <czhengsz@cn.ibm.com> | 2019-06-19 01:26:31 +0000 |
| commit | c5b918de58c03f226aab326394ab019708dbdbae (patch) | |
| tree | 2908f3301b3b1345569e05b8d5af97b742135add /llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | |
| parent | 9cac4e6d1403554b06ec2fc9d834087b1234b695 (diff) | |
| download | bcm5719-llvm-c5b918de58c03f226aab326394ab019708dbdbae.tar.gz bcm5719-llvm-c5b918de58c03f226aab326394ab019708dbdbae.zip | |
[NFC] move some hardware loop checking code to a common place for other using.
Differential Revision: https://reviews.llvm.org/D63478
llvm-svn: 363758
Diffstat (limited to 'llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp b/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp index ca905dfc7ff..c3a7c18bb5d 100644 --- a/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp +++ b/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp @@ -696,7 +696,7 @@ bool ARMTTIImpl::isLoweredToCall(const Function *F) { bool ARMTTIImpl::isHardwareLoopProfitable(Loop *L, ScalarEvolution &SE, AssumptionCache &AC, TargetLibraryInfo *LibInfo, - TTI::HardwareLoopInfo &HWLoopInfo) { + HardwareLoopInfo &HWLoopInfo) { // Low-overhead branches are only supported in the 'low-overhead branch' // extension of v8.1-m. if (!ST->hasLOB() || DisableLowOverheadLoops) |

