The function reordering algorithm added by https://reviews.llvm.org/D152834 and
used by BOLT (https://reviews.llvm.org/D153039) is untested.
Add some tests at the appropriate layer.
Depends on D159526
Differential D159527
[CodeLayout] Add unittest for cache-directed sort MaskRay on Sun, Sep 17, 4:09 PM. Authored by
Details The function reordering algorithm added by https://reviews.llvm.org/D152834 and Add some tests at the appropriate layer. Depends on D159526
Diff Detail
Event TimelineComment Actions Another example would be where the algorithm stops merging functions (with call edges) because the temporal locality degrades too much, but this can be done in a separate patch.
|