forked from OSchip/llvm-project
Add a comment line that was accidentally dropped in r236671.
llvm-svn: 237734
This commit is contained in:
parent
7a18c06128
commit
ff0e9ade5a
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue