[compiler-rt] [llvm] [compiler-rt][X86] Unify getIntelProcessorTypeAndSubtype (PR #97861)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 1 22:03:06 PST 2024


================
@@ -646,10 +657,102 @@ static const char *getIntelProcessorTypeAndSubtype(unsigned Family,
       *Type = INTEL_KNM;
       break;
 
-    default: // Unknown family 6 CPU.
+    default: // Unknown family 6 CPU, try to guess.
----------------
phoebewang wrote:

I recall I saw discussion somewhere says it's not proved returning a guessed CPU is better than unknown one.

https://github.com/llvm/llvm-project/pull/97861


More information about the llvm-commits mailing list