HomePhabricator

Make balanced affinity work on AArch64.

Authored by pawosm01 on Jul 29 2016, 1:55 PM.

Description

Make balanced affinity work on AArch64.

This patch enables balanced affinity on machines that do not have
hardware threads and have cores clustered into packages. In facts,
balacing algorithm could be generalized for any arrangement with
at least two levels of hierarchy (depth > 1).

Differential Revision: https://reviews.llvm.org/D22365

llvm-svn: 277212