[llvm-commits] [llvm] r55918 - /llvm/trunk/lib/Target/X86/X86FastISel.cpp

Dan Gohman gohman at apple.com
Mon Sep 8 09:31:35 PDT 2008


Author: djg
Date: Mon Sep  8 11:31:35 2008
New Revision: 55918

URL: http://llvm.org/viewvc/llvm-project?rev=55918&view=rev
Log:
Fix copy+pastos in comments.

Modified:
    llvm/trunk/lib/Target/X86/X86FastISel.cpp

Modified: llvm/trunk/lib/Target/X86/X86FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FastISel.cpp?rev=55918&r1=55917&r2=55918&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86FastISel.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FastISel.cpp Mon Sep  8 11:31:35 2008
@@ -215,7 +215,7 @@
 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 @@
   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;    





More information about the llvm-commits mailing list