[PATCH] D93789: Add accessors for MCSubtargetInfo CPU and Feature tables

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 17 09:17:39 PST 2021


craig.topper added a comment.

I’m not against this, but do want to mention the help text is incorrect for x86-64. It lists CPUs that don’t support 64-bit. Using one of those CPUs will trigger a fatal error. A better list is fillValidCPUList from X86TargetParser.cpp in lib/Support. It takes a mode argument. That’s the interface clang uses.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93789/new/

https://reviews.llvm.org/D93789



More information about the llvm-commits mailing list