[all-commits] [llvm/llvm-project] ea1e62: [CodeGenTypes] Remove explicit VT numbers from Val...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Nov 27 05:12:06 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea1e62d1a00bf3d40b7a1fd926d2a573c997188d
      https://github.com/llvm/llvm-project/commit/ea1e62d1a00bf3d40b7a1fd926d2a573c997188d
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2025-11-27 (Thu, 27 Nov 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/ValueTypes.td
    M llvm/include/llvm/CodeGenTypes/MachineValueType.h
    M llvm/include/llvm/Target/Target.td
    M llvm/lib/Target/SPIRV/SPIRVRegisterInfo.td
    M llvm/utils/TableGen/Basic/VTEmitter.cpp
    M llvm/utils/TableGen/Common/CodeGenTarget.cpp
    M mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp

  Log Message:
  -----------
  [CodeGenTypes] Remove explicit VT numbers from ValueTypes.td (#169670)

Remove explicit VT numbers from ValueTypes.td so that patches that add a
new VT do not have to renumber the entire file.

In TableGen VTs are now identified by ValueType.LLVMName instead of
ValueType.Value. This is important for target-defined types (typically
based on PtrValueType) which are not mentioned in ValueTypes.td itself.



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