[all-commits] [llvm/llvm-project] 64f552: [NFC][LLVM][CodeGen] Refactor MachineInstr operand...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Thu May 1 07:45:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64f552cefacbb36ccb5f6df7b57f532bb63f0006
      https://github.com/llvm/llvm-project/commit/64f552cefacbb36ccb5f6df7b57f532bb63f0006
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-05-01 (Thu, 01 May 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineInstr.h
    M llvm/include/llvm/CodeGen/MachineInstrBuilder.h
    M llvm/lib/CodeGen/MachineInstr.cpp

  Log Message:
  -----------
  [NFC][LLVM][CodeGen] Refactor MachineInstr operand accessors (#137261)

- Change MachineInstr operand accessors to use `ArrayRef` internally to
slice the operand array into sub-arrays.
- Minor: remove unnecessary {} on `MachineInstrBuilder::add`.



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