[all-commits] [llvm/llvm-project] 567d30: [TableGen][NFC] Replace hardcoded opcode numbering...

Jason Eckhardt via All-commits all-commits at lists.llvm.org
Wed Feb 7 19:04:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 567d304e5344dfb408f2453390886fc229c09481
      https://github.com/llvm/llvm-project/commit/567d304e5344dfb408f2453390886fc229c09481
  Author: Jason Eckhardt <jeckhardt at nvidia.com>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

  Changed paths:
    M llvm/utils/TableGen/GlobalISelMatchTable.cpp
    M llvm/utils/TableGen/InstrInfoEmitter.cpp

  Log Message:
  -----------
  [TableGen][NFC] Replace hardcoded opcode numbering. (#81065)

This patch uses the recently introduced CodeGenTarget::getInstrIntValue
to replace hardcoded opcode enum value numbering in a few places.




More information about the All-commits mailing list