[all-commits] [llvm/llvm-project] b6af40: RuntimeLibcalls: Generate table of libcall name le...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Aug 14 18:01:48 PDT 2025


  Branch: refs/heads/users/arsenm/runtime-libcalls/store-libcall-string-lengths-table
  Home:   https://github.com/llvm/llvm-project
  Commit: b6af40f19bbed2506a3d9ebe14743162b3cfdcf5
      https://github.com/llvm/llvm-project/commit/b6af40f19bbed2506a3d9ebe14743162b3cfdcf5
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-08-15 (Fri, 15 Aug 2025)

  Changed paths:
    M llvm/include/llvm/IR/RuntimeLibcalls.h
    M llvm/test/TableGen/RuntimeLibcallEmitter.td
    M llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp

  Log Message:
  -----------
  RuntimeLibcalls: Generate table of libcall name lengths

Avoids strlen when constructing the returned StringRef. We were emitting
these in the libcall name lookup anyway, so split out the offsets for
general use.

Currently emitted as a separate table, not sure if it would be better
to change the string offset table to store pairs of offset and width
instead.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list