[PATCH] D97504: [llvm-exegesis] Disable the LBR check on AMD

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 4 11:35:42 PST 2021


lebedev.ri accepted this revision.
lebedev.ri added a comment.

This seems about right now, thanks.



================
Comment at: llvm/tools/llvm-exegesis/lib/X86/Target.cpp:751-752
+      // be confuse and think an AMD machine actually has LBR support.
+#if defined(__i386__) || defined(_M_IX86) || defined(__x86_64__) ||            \
+    defined(_M_X64)
+    using namespace sys::detail::x86;
----------------
I don't think you need this any more


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97504/new/

https://reviews.llvm.org/D97504



More information about the llvm-commits mailing list