aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-05-24 01:08:43 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-05-24 01:08:43 +0000
commit12745c55e1d5a6e76d41684f1b507ea7c6b888ac (patch)
tree64da698ebab2adece89332a06fbff26858873cbc /lib/Target
parentf00ce8bc29c3194485b7251dd3e234cead10008e (diff)
downloadexternal_llvm-12745c55e1d5a6e76d41684f1b507ea7c6b888ac.zip
external_llvm-12745c55e1d5a6e76d41684f1b507ea7c6b888ac.tar.gz
external_llvm-12745c55e1d5a6e76d41684f1b507ea7c6b888ac.tar.bz2
Reword to remove reference to how things worked in the past.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/SparcV9/SparcV9Internals.h7
-rw-r--r--lib/Target/X86/X86InstrInfo.cpp7
-rw-r--r--lib/Target/X86/X86InstrInfo.h7
3 files changed, 9 insertions, 12 deletions
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;