Return true if this instruction is identical to Other.
Declared in <llvm/CodeGen/MachineInstr.h>
bool
isIdenticalTo(
MachineInstr const& Other,
MICheckType Check = CheckDefs) const;
Same opcode and identical operands (per MachineOperand::isIdenticalTo). Liveness flags (dead, undef, kill) do not affect identity unless requested via Check.
True if the instructions are identical under Check.
| Name | Description |
|---|---|
| Other | Other instruction to compare against. |
| Check | How strictly operands and defs are compared. |