From 12a230f4b4f0a19fdb9bcc044ac858fca510d715 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 10 Jul 2017 06:09:22 +0000 Subject: [PATCH] [X86] Fix typo in comment. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307522 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index 347b996d0aa..539fd61b2ce 100644 --- a/lib/Support/Host.cpp +++ b/lib/Support/Host.cpp @@ -448,7 +448,7 @@ static bool getX86CpuIDAndInfoEx(unsigned value, unsigned subleaf, 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"