summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-07-10 06:09:22 +0000
committerCraig Topper <craig.topper@intel.com>2017-07-10 06:09:22 +0000
commitada983a555b8b800b44c362b1c16581b80c0afa1 (patch)
tree232b1ff4e74f06ecea95b4a24254cb33735e3883 /llvm/lib/Support/Host.cpp
parente0ced14449c18aad0fc5cd526b4728c3c3dd5ee0 (diff)
downloadbcm5719-llvm-ada983a555b8b800b44c362b1c16581b80c0afa1.tar.gz
bcm5719-llvm-ada983a555b8b800b44c362b1c16581b80c0afa1.zip
[X86] Fix typo in comment. NFC
llvm-svn: 307522
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
-rw-r--r--llvm/lib/Support/Host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index 347b996d0aa..539fd61b2ce 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/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"
OpenPOWER on IntegriCloud