[compiler-rt] [llvm] [Clang][NFC] - Use Hex Encoding for Intel CPU CPUID family (PR #153004)

Evgenii Kudriashov via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 06:35:47 PDT 2025


================
@@ -1055,7 +1055,7 @@ static StringRef getIntelProcessorTypeAndSubtype(unsigned Family,
       break;
     }
     break;
-  case 15: {
+  case 0xf: {
----------------
e-kud wrote:

I'm not sure whether it is better to use `0x0f` since now we have two hex digits for families or not.

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


More information about the llvm-commits mailing list