[all-commits] [llvm/llvm-project] 8eb0ef: Copy `llvm/Support/MachineValueType.h` into `unitt...

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Thu Apr 13 16:50:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8eb0ef288a0d95eb667e30b535869d5a880701d5
      https://github.com/llvm/llvm-project/commit/8eb0ef288a0d95eb667e30b535869d5a880701d5
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    A llvm/unittests/Support/MachineValueType.h

  Log Message:
  -----------
  Copy `llvm/Support/MachineValueType.h` into `unittests/Support` for D146906

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


  Commit: fcc5f9ef50e18137fd8020127db05a59c3a4015d
      https://github.com/llvm/llvm-project/commit/fcc5f9ef50e18137fd8020127db05a59c3a4015d
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/MVTTest.cpp
    M llvm/unittests/Support/MachineValueType.h
    M llvm/utils/TableGen/CMakeLists.txt
    A llvm/utils/TableGen/VTEmitter.cpp
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel

  Log Message:
  -----------
  Generate staging `MachineValueType.h` (partially) from `ValueTypes.td`

- Implement `VTEmitter` as `llvm-tblgen -gen-vt`.
- Create a copy of `llvm/Support/MachineValueType.h` into `unittests/Support`.
  It includes `GenVT.inc` generated by `VTEmitter`.
- Implement `MVTTest` in `SupportTests`. It checks equivalence between
  `llvm/Support/MachineValueType.h` and the generated header.

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


Compare: https://github.com/llvm/llvm-project/compare/6d555dd53b01...fcc5f9ef50e1


More information about the All-commits mailing list