[llvm] [Analysis] Move TargetLibraryInfo data to TableGen (PR #165009)
Kai Nacke via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 27 12:12:39 PDT 2025
redstar wrote:
> Thanks for doing this! I am working towards turning RuntimeLibcallsInfo into TargetLibraryInfo, to eventually replace it. Is it straightforward to port these type signatures to add them to RuntimeLibcallImpls?
It should be easy to extract the signatures, and mix them into RuntimeLibcallsInfo. (I assume it is mostly pattern matching. I used a couple of sed expressions to go from .def to .td.) Of course, there are lot of functions in RuntimeLibcallsInfo which are not in TargetLibraryInfo, requiring manual effort to add a type signature (if needed).
https://github.com/llvm/llvm-project/pull/165009
More information about the llvm-commits
mailing list