diff options
author | Sirish Pande <sirishrp@gmail.com> | 2018-05-16 15:36:52 +0000 |
---|---|---|
committer | Sirish Pande <sirishrp@gmail.com> | 2018-05-16 15:36:52 +0000 |
commit | cabe50a308736a0f5c72fc7bf034b4ee3dac5760 (patch) | |
tree | afa9272c2d9b6a6bc38bcf97d2d1f9ca85f1e5d5 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | efdb9be29fd24e86a7a6f6610b760aec88512f1e (diff) | |
download | llvm-cabe50a308736a0f5c72fc7bf034b4ee3dac5760.zip llvm-cabe50a308736a0f5c72fc7bf034b4ee3dac5760.tar.gz llvm-cabe50a308736a0f5c72fc7bf034b4ee3dac5760.tar.bz2 |
[AArch64] Gangup loads and stores for pairing.
Keep loads and stores together (target defines how many loads
and stores to gang up), such that it will help in pairing
and vectorization.
Differential Revision https://reviews.llvm.org/D46477
llvm-svn: 332482
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp index e18a6ab..3a2036b 100644 --- a/llvm/lib/CodeGen/TargetLoweringBase.cpp +++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp @@ -535,6 +535,7 @@ TargetLoweringBase::TargetLoweringBase(const TargetMachine &tm) : TM(tm) { // Perform these initializations only once. MaxStoresPerMemset = MaxStoresPerMemcpy = MaxStoresPerMemmove = MaxLoadsPerMemcmp = 8; + MaxGluedStoresPerMemcpy = 0; MaxStoresPerMemsetOptSize = MaxStoresPerMemcpyOptSize = MaxStoresPerMemmoveOptSize = MaxLoadsPerMemcmpOptSize = 4; UseUnderscoreSetJmp = false; |