It broke e.g. all tests under tools/llvm-exegesis/X86/ when libpfm is not available, see comment on D74085. This reverts commit b3576f60 and 14191596.
mentioned in commit 830af528
mentioned in commit 4bd40f71