[llvm-branch-commits] [llvm] 7d803c8 - [AArch64] Set the cache line size to 64 for the V2 and V3. (#148213)
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jul 16 07:17:18 PDT 2025
Author: Sjoerd Meijer
Date: 2025-07-16T16:17:00+02:00
New Revision: 7d803c868ab96dabbd4cb47d0b3e60a78057e1b0
URL: https://github.com/llvm/llvm-project/commit/7d803c868ab96dabbd4cb47d0b3e60a78057e1b0
DIFF: https://github.com/llvm/llvm-project/commit/7d803c868ab96dabbd4cb47d0b3e60a78057e1b0.diff
LOG: [AArch64] Set the cache line size to 64 for the V2 and V3. (#148213)
This sets the cache line size to 64 for the Neoverse V2 and V3. I've
tested this with loop-interchange: it doesn't result in extra
compile-times, but it does enable a lot more interchange.
Added:
Modified:
llvm/lib/Target/AArch64/AArch64Subtarget.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
index 0956823346795..2409cc862f21c 100644
--- a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
+++ b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp
@@ -270,6 +270,7 @@ void AArch64Subtarget::initializeProperties(bool HasMinSize) {
break;
case NeoverseV2:
case NeoverseV3:
+ CacheLineSize = 64;
EpilogueVectorizationMinVF = 8;
MaxInterleaveFactor = 4;
ScatterOverhead = 13;
More information about the llvm-branch-commits
mailing list