[llvm] r307522 - [X86] Fix typo in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 9 23:09:22 PDT 2017


Author: ctopper
Date: Sun Jul  9 23:09:22 2017
New Revision: 307522

URL: http://llvm.org/viewvc/llvm-project?rev=307522&view=rev
Log:
[X86] Fix typo in comment. NFC

Modified:
    llvm/trunk/lib/Support/Host.cpp

Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=307522&r1=307521&r2=307522&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Sun Jul  9 23:09:22 2017
@@ -448,7 +448,7 @@ static bool getX86CpuIDAndInfoEx(unsigne
                                  unsigned *rEDX) {
 #if defined(__x86_64__) || defined(_M_X64)
 #if defined(__GNUC__) || defined(__clang__)
-  // gcc doesn't know cpuid would clobber ebx/rbx. Preseve it manually.
+  // gcc doesn't know cpuid would clobber ebx/rbx. Preserve it manually.
   // FIXME: should we save this for Clang?
   __asm__("movq\t%%rbx, %%rsi\n\t"
           "cpuid\n\t"




More information about the llvm-commits mailing list