[STATS] Missing check for MIC in config-ix.cmake

llvm-svn: 264616
This commit is contained in:
Jonathan Peyton 2016-03-28 18:53:10 +00:00
parent a68d755774
commit 316af8de48
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ if(${LIBOMP_STATS})
{ unsigned long long t = __builtin_readcyclecounter(); return 0; }"
LIBOMP_HAVE___BUILTIN_READCYCLECOUNTER)
if(NOT LIBOMP_HAVE___BUILTIN_READCYCLECOUNTER)
if(${IA32} OR ${INTEL64})
if(${IA32} OR ${INTEL64} OR ${MIC})
check_include_file(x86intrin.h LIBOMP_HAVE_X86INTRIN_H)
libomp_append(CMAKE_REQUIRED_DEFINITIONS -DLIBOMP_HAVE_X86INTRIN_H LIBOMP_HAVE_X86INTRIN_H)
check_c_source_compiles(