mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-05 11:57:07 +00:00
Machine{Instr|Operand}: Clarify some isIdenticalTo() subtleties.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281956 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
879da284b5
commit
34c557c690
@ -721,8 +721,9 @@ public:
|
||||
IgnoreVRegDefs // Ignore virtual register definitions
|
||||
};
|
||||
|
||||
/// Return true if this instruction is identical to (same
|
||||
/// opcode and same operands as) the specified instruction.
|
||||
/// Return true if this instruction is identical to \p Other.
|
||||
/// Identical meaning same opcode and all operands reported as
|
||||
/// isIdenticalOp() (equal except for liveness flags).
|
||||
bool isIdenticalTo(const MachineInstr &Other,
|
||||
MICheckType Check = CheckDefs) const;
|
||||
|
||||
|
@ -566,8 +566,8 @@ public:
|
||||
// Other methods.
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
||||
/// isIdenticalTo - Return true if this operand is identical to the specified
|
||||
/// operand. Note: This method ignores isKill and isDead properties.
|
||||
/// Returns true if this operand is identical to the specified operand except
|
||||
/// for liveness related flags (isKill, isUndef and isDead).
|
||||
bool isIdenticalTo(const MachineOperand &Other) const;
|
||||
|
||||
/// \brief MachineOperand hash_value overload.
|
||||
|
Loading…
x
Reference in New Issue
Block a user