[all-commits] [llvm/llvm-project] f2942b: [CodeGen] NFC: Move isDead to MachineInstr (#123531)

Jeffrey Byrnes via All-commits all-commits at lists.llvm.org
Thu Jan 23 12:54:52 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2942b90778670d9ad974d025c779fc96afa737c
      https://github.com/llvm/llvm-project/commit/f2942b90778670d9ad974d025c779fc96afa737c
  Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>
  Date:   2025-01-23 (Thu, 23 Jan 2025)

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

  Log Message:
  -----------
  [CodeGen] NFC: Move isDead to MachineInstr (#123531)

Provide isDead interface for access to ad-hoc isDead queries.
LivePhysRegs is optional: if not provided, pessimistically check
deadness of a single MI without doing the LivePhysReg walk; if provided
it is assumed to be at the position of MI.



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