summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-09-26 18:38:05 +0000
committerMatthias Braun <matze@braunis.de>2016-09-26 18:38:05 +0000
commit3de0791144be11b7121478f78dda9e35dedb6d0b (patch)
treedc1eea9ee9a87588f5ff06a5a06f13b0452530dd
parent055767d5f4a406ff3e2c3dc23667e2a97e3e941c (diff)
downloadbcm5719-llvm-3de0791144be11b7121478f78dda9e35dedb6d0b.tar.gz
bcm5719-llvm-3de0791144be11b7121478f78dda9e35dedb6d0b.zip
MachineInstr: Fix comment typo, further refine comment; NFC
llvm-svn: 282424
-rw-r--r--llvm/include/llvm/CodeGen/MachineInstr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h
index c645c20cc17..b99dbf0fc97 100644
--- a/llvm/include/llvm/CodeGen/MachineInstr.h
+++ b/llvm/include/llvm/CodeGen/MachineInstr.h
@@ -722,8 +722,10 @@ public:
};
/// 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).
+ /// Two instructions are identical if they have the same opcode and all their
+ /// operands are identical (with respect to MachineOperand::isIdenticalTo()).
+ /// Note that this means liveness related flags (dead, undef, kill) do not
+ /// affect the notion of identical.
bool isIdenticalTo(const MachineInstr &Other,
MICheckType Check = CheckDefs) const;
OpenPOWER on IntegriCloud