[PATCH] D121768: [tablgen][X86] Auto-generate fields and trival interace for target features

Kan Shengchen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 17 04:11:02 PDT 2022


skan updated this revision to Diff 416133.
skan added a comment.

1. Add three classes: TrivalFieldSubtargetFeature, TrivalInterfaceSubtargetFeature, TrivalSubtargetFeature for flexibilty
2. Add some comments
3. Move the description of feature to the interface if there are multiples features related to the field


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121768

Files:
  llvm/include/llvm/Target/Target.td
  llvm/lib/Target/X86/X86.td
  llvm/lib/Target/X86/X86Subtarget.h
  llvm/utils/TableGen/SubtargetEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121768.416133.patch
Type: text/x-patch
Size: 75821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220317/e5eb6de9/attachment-0001.bin>


More information about the llvm-commits mailing list