[llvm-exegesis] Disable the LBR check on AMD
authorVy Nguyen <vyng@google.com>
Thu, 25 Feb 2021 22:40:38 +0000 (17:40 -0500)
committerVy Nguyen <vyng@google.com>
Thu, 4 Mar 2021 16:16:38 +0000 (11:16 -0500)
commit293e8fa13d3f05e993771577a4c022deee5cbf6e
tree2567476fdac7058d4d7db97f49857ff45ead23c4
parent04ba80ca4dee39ce5176ea241d076e5493ecbebe
[llvm-exegesis] Disable the LBR check on AMD

https://bugs.llvm.org/show_bug.cgi?id=48918

The bug reported a hang (or very very slow runtime) on a Zen2. Unfortunately, we don't have the hardware right now to debug it and I was not able to reproduce the bug on a HSW.
Theory we've got is that the lbr-checking code could be confused on AMD.

Differential Revision: https://reviews.llvm.org/D97504
llvm/include/llvm/Support/Host.h
llvm/lib/Support/Host.cpp
llvm/tools/llvm-exegesis/lib/X86/Target.cpp