[all-commits] [llvm/llvm-project] e3a9e3: [MachineInstr] Use unsigned int for opcode (NFC)

Christudasan Devadasan via All-commits all-commits at lists.llvm.org
Fri Oct 7 05:46:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3a9e3172d0edc7990f8656fc70a975bdb651f2a
      https://github.com/llvm/llvm-project/commit/e3a9e3172d0edc7990f8656fc70a975bdb651f2a
  Author: Christudasan Devadasan <Christudasan.Devadasan at amd.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

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

  Log Message:
  -----------
  [MachineInstr] Use unsigned int for opcode (NFC)

The opcode field in most places uses unsigned type.
InstrInfoEmitter still uses signed int for the
custom opcodes like CFSetupOpcode.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D135140




More information about the All-commits mailing list