diff --git a/include/llvm/CodeGen/CommandFlags.h b/include/llvm/CodeGen/CommandFlags.h index 9ef8e86d1e5..fda2bddf841 100644 --- 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 HostFeatures; if (sys::getHostCPUFeatures(HostFeatures))