[all-commits] [llvm/llvm-project] 7674d6: [LLVM][TableGen] Simplify `DagInit::get` (#140056)

Rahul Joshi via All-commits all-commits at lists.llvm.org
Fri May 16 09:46:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7674d6fa9e45c1748d0dd49430aa472028d44a2d
      https://github.com/llvm/llvm-project/commit/7674d6fa9e45c1748d0dd49430aa472028d44a2d
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/TableGen/Record.cpp
    M llvm/utils/TableGen/AsmWriterEmitter.cpp
    M llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
    M llvm/utils/TableGen/Common/VarLenCodeEmitterGen.cpp

  Log Message:
  -----------
  [LLVM][TableGen] Simplify `DagInit::get` (#140056)

- Add `DagInit::get` overloads that do not need ValName to be specified.
- Fix some calls to either not create temporary arrays for DAG args or
use the std::pair<> overload.



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