projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f725e
)
Add a comment line that was accidentally dropped in r236671.
author
Akira Hatanaka
<ahatanaka@apple.com>
Tue, 19 May 2015 21:59:11 +0000
(21:59 +0000)
committer
Akira Hatanaka
<ahatanaka@apple.com>
Tue, 19 May 2015 21:59:11 +0000
(21:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237734
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/CommandFlags.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/CommandFlags.h
b/include/llvm/CodeGen/CommandFlags.h
index 9ef8e86d1e5bebae53a97b483b7307bfcd370ed9..fda2bddf841663151e0a905f35cbb2fb4b9a1348 100644
(file)
--- a/
include/llvm/CodeGen/CommandFlags.h
+++ b/
include/llvm/CodeGen/CommandFlags.h
@@
-273,6
+273,7
@@
static inline std::string getFeaturesStr() {
// If user asked for the 'native' CPU, we need to autodetect features.
// This is necessary for x86 where the CPU might not support all the
// features the autodetected CPU name lists in the target. For example,
+ // not all Sandybridge processors support AVX.
if (MCPU == "native") {
StringMap<bool> HostFeatures;
if (sys::getHostCPUFeatures(HostFeatures))