aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-09-08 16:31:35 +0000
committerDan Gohman <gohman@apple.com>2008-09-08 16:31:35 +0000
commit863890e2fa7339da613532b065627e941aa2eaf6 (patch)
treef67de2df11842f06a747082f7c993d955d01cdd5
parenta47916d3792b47ec60d5152471db48d50dd9bb35 (diff)
downloadexternal_llvm-863890e2fa7339da613532b065627e941aa2eaf6.zip
external_llvm-863890e2fa7339da613532b065627e941aa2eaf6.tar.gz
external_llvm-863890e2fa7339da613532b065627e941aa2eaf6.tar.bz2
Fix copy+pastos in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55918 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86FastISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp
index b2e2532..0e3ce1f 100644
--- a/lib/Target/X86/X86FastISel.cpp
+++ b/lib/Target/X86/X86FastISel.cpp
@@ -215,7 +215,7 @@ bool X86FastISel::X86FastEmitLoad(MVT VT, unsigned Ptr, Value *GV,
bool
X86FastISel::X86FastEmitStore(MVT VT, unsigned Val,
unsigned Ptr, unsigned Offset, Value *V) {
- // Get opcode and regclass of the output for the given load instruction.
+ // Get opcode and regclass of the output for the given store instruction.
unsigned Opc = 0;
const TargetRegisterClass *RC = NULL;
switch (VT.getSimpleVT()) {
@@ -324,7 +324,7 @@ bool X86FastISel::X86SelectStore(Instruction* I) {
Value *V = I->getOperand(1);
unsigned Ptr = getRegForValue(V);
if (Ptr == 0) {
- // Handle constant load address.
+ // Handle constant store address.
if (!isa<Constant>(V) || !X86SelectConstAddr(V, Ptr))
// Unhandled operand. Halt "fast" selection and bail.
return false;