[all-commits] [llvm/llvm-project] 91fd3e: [LLVM][TableGen] Speed up sorting of intrinsics (#...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Thu Sep 19 10:24:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91fd3e764ba49315320328233ae94013f90c7414
      https://github.com/llvm/llvm-project/commit/91fd3e764ba49315320328233ae94013f90c7414
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M llvm/utils/TableGen/Basic/CodeGenIntrinsics.cpp

  Log Message:
  -----------
  [LLVM][TableGen] Speed up sorting of intrinsics (#109230)

Speed up sorting of intrinsics by using the TargetPrefix to only
discriminate beteween target dependent vs target independent intrinsics
where target independent ones need to be sorted before target dependent
ones. When comparing two target dependent intrinsics, the Name already
includes `llvm.<TargetPrefix>` as a prefix, so no need to needlessly
compare it separately.



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