[all-commits] [llvm/llvm-project] ce3c58: [NFC][TableGen] Replace DefInit::get() with Record...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Sun Sep 8 12:19:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce3c58e10481dd1d0393d342b4102c633cfd0def
      https://github.com/llvm/llvm-project/commit/ce3c58e10481dd1d0393d342b4102c633cfd0def
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-09-08 (Sun, 08 Sep 2024)

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

  Log Message:
  -----------
  [NFC][TableGen] Replace DefInit::get() with Record::getDefInit() (#107762)

Eliminate DefInit::get() as its a duplicate of Record::getDefInit(). 
Use early return in `VarDefInit::instantiate`.



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