[llvm] r237734 - Add a comment line that was accidentally dropped in r236671.
Akira Hatanaka
ahatanaka at apple.com
Tue May 19 14:59:11 PDT 2015
Author: ahatanak
Date: Tue May 19 16:59:11 2015
New Revision: 237734
URL: http://llvm.org/viewvc/llvm-project?rev=237734&view=rev
Log:
Add a comment line that was accidentally dropped in r236671.
Modified:
llvm/trunk/include/llvm/CodeGen/CommandFlags.h
Modified: llvm/trunk/include/llvm/CodeGen/CommandFlags.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/CommandFlags.h?rev=237734&r1=237733&r2=237734&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/CommandFlags.h (original)
+++ llvm/trunk/include/llvm/CodeGen/CommandFlags.h Tue May 19 16:59:11 2015
@@ -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))
More information about the llvm-commits
mailing list