[lld] r273243 - Fix typo in comment.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 22:09:39 PDT 2016


Author: ruiu
Date: Tue Jun 21 00:09:39 2016
New Revision: 273243

URL: http://llvm.org/viewvc/llvm-project?rev=273243&view=rev
Log:
Fix typo in comment.

Modified:
    lld/trunk/ELF/Target.cpp

Modified: lld/trunk/ELF/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Target.cpp?rev=273243&r1=273242&r2=273243&view=diff
==============================================================================
--- lld/trunk/ELF/Target.cpp (original)
+++ lld/trunk/ELF/Target.cpp Tue Jun 21 00:09:39 2016
@@ -681,7 +681,7 @@ void X86_64TargetInfo::relaxTlsIeToLe(ui
   uint8_t Reg = Loc[-1] >> 3;
   uint8_t *RegSlot = Loc - 1;
 
-  // Note that LEA with RSP or R12 is converted to ADD instead of LEA
+  // Note that ADD with RSP or R12 is converted to ADD instead of LEA
   // because LEA with these registers needs 4 bytes to encode and thus
   // wouldn't fit the space.
 




More information about the llvm-commits mailing list