aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Target/TargetInstrInfo.h7
-rw-r--r--lib/Target/SparcV9/SparcV9Internals.h7
-rw-r--r--lib/Target/X86/X86InstrInfo.cpp7
-rw-r--r--lib/Target/X86/X86InstrInfo.h7
4 files changed, 12 insertions, 16 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index 30843ea..806132e 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -280,10 +280,9 @@ public:
///
virtual MachineInstr* createNOPinstr() const = 0;
- /// isNOPinstr - since we no longer have a special NOP opcode, we need to know
- /// if a given instruction is interpreted as an `official' NOP instr, i.e.,
- /// there may be more than one way to `do nothing' but only one canonical
- /// way to slack off.
+ /// isNOPinstr - not having a special NOP opcode, we need to know if a given
+ /// instruction is interpreted as an `official' NOP instr, i.e., there may be
+ /// more than one way to `do nothing' but only one canonical way to slack off.
///
virtual bool isNOPinstr(const MachineInstr &MI) const = 0;
diff --git a/lib/Target/SparcV9/SparcV9Internals.h b/lib/Target/SparcV9/SparcV9Internals.h
index 0ad163c..ec04d3b 100644
--- a/lib/Target/SparcV9/SparcV9Internals.h
+++ b/lib/Target/SparcV9/SparcV9Internals.h
@@ -113,10 +113,9 @@ struct UltraSparcInstrInfo : public TargetInstrInfo {
return BuildMI(V9::SETHI, 2).addReg(SparcIntRegClass::g0).addZImm(0);
}
- /// isNOPinstr - since we no longer have a special NOP opcode, we need to know
- /// if a given instruction is interpreted as an `official' NOP instr, i.e.,
- /// there may be more than one way to `do nothing' but only one canonical
- /// way to slack off.
+ /// isNOPinstr - not having a special NOP opcode, we need to know if a given
+ /// instruction is interpreted as an `official' NOP instr, i.e., there may be
+ /// more than one way to `do nothing' but only one canonical way to slack off.
///
bool isNOPinstr(const MachineInstr &MI) const {
// Make sure the instruction is EXACTLY `sethi g0, 0'
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp
index 182798e..b03a120 100644
--- a/lib/Target/X86/X86InstrInfo.cpp
+++ b/lib/Target/X86/X86InstrInfo.cpp
@@ -48,10 +48,9 @@ MachineInstr* X86InstrInfo::createNOPinstr() const {
}
-// isNOPinstr - since we no longer have a special NOP opcode, we need to know
-// if a given instruction is interpreted as an `official' NOP instr, i.e.,
-// there may be more than one way to `do nothing' but only one canonical
-// way to slack off.
+/// isNOPinstr - not having a special NOP opcode, we need to know if a given
+/// instruction is interpreted as an `official' NOP instr, i.e., there may be
+/// more than one way to `do nothing' but only one canonical way to slack off.
//
bool X86InstrInfo::isNOPinstr(const MachineInstr &MI) const {
// Make sure the instruction is EXACTLY `xchg ax, ax'
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h
index 8dacf97..66fd0be 100644
--- a/lib/Target/X86/X86InstrInfo.h
+++ b/lib/Target/X86/X86InstrInfo.h
@@ -154,10 +154,9 @@ public:
///
MachineInstr* createNOPinstr() const;
- /// isNOPinstr - since we no longer have a special NOP opcode, we need to know
- /// if a given instruction is interpreted as an `official' NOP instr, i.e.,
- /// there may be more than one way to `do nothing' but only one canonical
- /// way to slack off.
+ /// isNOPinstr - not having a special NOP opcode, we need to know if a given
+ /// instruction is interpreted as an `official' NOP instr, i.e., there may be
+ /// more than one way to `do nothing' but only one canonical way to slack off.
///
bool isNOPinstr(const MachineInstr &MI) const;