[clang] [Clang] Start moving X86Builtins.def to X86Builtins.td (PR #106005)
Nikolas Klauser via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 29 04:08:27 PDT 2024
philnik777 wrote:
> No objections to this patch, I do want to see other targets moved over as well though, instead of x86 ending up being treated as a special/weird case.
That is the plan. It just takes time to move everything. FWIW Hexagon and RISCV already use TableGen files as well.
> I am preparing to convert a lot of x86 builtins to be constexpr (#30794) - but as long as this PR won't interfere I see no big reason not to get it done right away.
It shouldn't. You just have to add the `Constexpr` attribute instead of whatever you had to do in the `.def` files.
https://github.com/llvm/llvm-project/pull/106005
More information about the cfe-commits
mailing list