projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0ced14
)
[X86] Fix typo in comment. NFC
author
Craig Topper
<craig.topper@intel.com>
Mon, 10 Jul 2017 06:09:22 +0000
(06:09 +0000)
committer
Craig Topper
<craig.topper@intel.com>
Mon, 10 Jul 2017 06:09:22 +0000
(06:09 +0000)
llvm-svn: 307522
llvm/lib/Support/Host.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Host.cpp
b/llvm/lib/Support/Host.cpp
index
347b996
..
539fd61
100644
(file)
--- 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. Prese
r
ve it manually.
// FIXME: should we save this for Clang?
__asm__("movq\t%%rbx, %%rsi\n\t"
"cpuid\n\t"