[PATCH] D121768: [X86][tablgen] Auto-generate trivial fields and trivial interfaces for target features

Kan Shengchen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 18 21:08:47 PDT 2022


skan added a comment.

In D121768#3393913 <https://reviews.llvm.org/D121768#3393913>, @craig.topper wrote:

> So you want feature specific knobs that you have to pass through those front end command line interfaces with something like clang’s -mllvm?
>
> In my opinion we should add more interfaces  in X86TargetParser.cpp so that all frontends can learn what features llvm supports without a hardcoded list like in Options.td. And those frontends should use the target-feature attribute.

Some front-ends are not open-source. We could not teach it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121768



More information about the llvm-commits mailing list