[all-commits] [llvm/llvm-project] 7afc44: [TableGen][GISel] Add PtrValueTypeByHwMode to be a...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Sep 27 13:10:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7afc442fb3599e35579017478693d04c3916a144
      https://github.com/llvm/llvm-project/commit/7afc442fb3599e35579017478693d04c3916a144
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M llvm/include/llvm/Target/Target.td
    A llvm/test/TableGen/GlobalISelEmitterHwModes.td
    M llvm/utils/TableGen/InfoByHwMode.cpp

  Log Message:
  -----------
  [TableGen][GISel] Add PtrValueTypeByHwMode to be able to vary … (#67501)

…the size of a pointer by HwMode.

This adds an equivalent of PtrValueType that can use a
ValueTypeByHwMode.

This allows the size of a pointer to vary based on HwMode. This is
needed for RISC-V to support XLen sized pointers.




More information about the All-commits mailing list