The cache line size for Power 7, 8 and 9 is 128 bytes.
Otherwise a default of 64 bytes is assumed.
Details
Details
Diff Detail
Diff Detail
Event Timeline
test/CodeGen/PowerPC/ppc64-get-cache-line-size.ll | ||
---|---|---|
41 | For the function name, you may want to use CHECK-LABEL, similarly line 44. And I didn't apply this patch and generate the assembly to see, but generally speaking, if there is one instruction immediately follow another, you may want to use the stronger CHECK-NEXT if possible. Other than that LGTM. |
For the function name, you may want to use CHECK-LABEL, similarly line 44. And I didn't apply this patch and generate the assembly to see, but generally speaking, if there is one instruction immediately follow another, you may want to use the stronger CHECK-NEXT if possible. Other than that LGTM.