[all-commits] [llvm/llvm-project] 632449: [TableGen] Make more use of findSubRegIdx. NFCI. (...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Jun 5 10:07:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63244932fa73f4189b2d90167cf0d4c7dff4b7e9
      https://github.com/llvm/llvm-project/commit/63244932fa73f4189b2d90167cf0d4c7dff4b7e9
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
    M llvm/utils/TableGen/DAGISelMatcherGen.cpp
    M llvm/utils/TableGen/GlobalISelEmitter.cpp

  Log Message:
  -----------
  [TableGen] Make more use of findSubRegIdx. NFCI. (#142996)

Outside of CodeGenRegisters itself, we only want to find existing
SubRegIdxs, not create new ones. Change findSubRegIdx to assert and use
it consistently for this purpose.



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