[PATCH] D82414: [X86] Replace PROC macros with an enum and a lookup table of processor information.
    Craig Topper via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jun 23 15:05:16 PDT 2020
    
    
  
craig.topper marked an inline comment as done.
craig.topper added inline comments.
================
Comment at: llvm/lib/Support/X86TargetParser.cpp:36
+  // i386-generation processors.
+  { "i386", CK_i386, ~0U, PROC_32_BIT },
+  // i486-generation processors.
----------------
Once we have feature bits in the table the PROC_32_BIT/PROC_64_BIT can just check FEATURE_EM64T.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82414/new/
https://reviews.llvm.org/D82414
    
    
More information about the llvm-commits
mailing list