Add a description for AMD's bdver4 (aka Excavator).
This is just bdver3 + AVX2 + BMI2.
llvm-svn: 207847
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index dc90c8c..83f2546 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -435,6 +435,8 @@
case 21:
if (!HasAVX) // If the OS doesn't support AVX provide a sane fallback.
return "btver1";
+ if (Model >= 0x50)
+ return "bdver4"; // 50h-6Fh: Excavator
if (Model >= 0x30)
return "bdver3"; // 30h-3Fh: Steamroller
if (Model >= 0x10)