ΒΆbool isTriviallyDead(
const llvm::MachineInstr& MI,
const llvm::MachineRegisterInfo& MRI)
bool isTriviallyDead(
const llvm::MachineInstr& MI,
const llvm::MachineRegisterInfo& MRI)
Description
Check whether an instruction \p MI is dead: it only defines dead virtual registers, and doesn't have other side effects.
Declared at: llvm/include/llvm/CodeGen/GlobalISel/Utils.h:98
Parameters
- const llvm::MachineInstr& MI
- const llvm::MachineRegisterInfo& MRI