Skip to content

Commit 7d803c8

Browse files
sjoerdmeijertru
authored andcommitted
[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.
1 parent d1517ec commit 7d803c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AArch64/AArch64Subtarget.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ void AArch64Subtarget::initializeProperties(bool HasMinSize) {
270270
break;
271271
case NeoverseV2:
272272
case NeoverseV3:
273+
CacheLineSize = 64;
273274
EpilogueVectorizationMinVF = 8;
274275
MaxInterleaveFactor = 4;
275276
ScatterOverhead = 13;

0 commit comments

Comments
 (0)