Fix copy+pastos in comments.
authorDan Gohman <gohman@apple.com>
Mon, 8 Sep 2008 16:31:35 +0000 (16:31 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 8 Sep 2008 16:31:35 +0000 (16:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55918 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86FastISel.cpp

index b2e2532e569e3c3bde69807e5571a95cdbab49c5..0e3ce1f28c379a5247f34fb3a102ba1a8ae8cb12 100644 (file)
@@ -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;