[PATCH] D46314: [X86][AMD][Bulldozer] Unbreak Bulldozer sub-type detection.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 1 09:10:02 PDT 2018


craig.topper added a comment.

You may want to check what __builtin_cpu_is("btver2") and __builtin_cpu_is("btver1") return when compiled with gcc. They seem to have the same bad check in their library code. The gcc compiler uses feature bits not Family/Model.

We also would need to fix the code in compiler-rt since it's copied from our Host.cpp.


Repository:
  rL LLVM

https://reviews.llvm.org/D46314





More information about the llvm-commits mailing list