Re-enable Visual Studio Builds.
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Mon, 22 Jun 2015 15:53:50 +0000 (15:53 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Mon, 22 Jun 2015 15:53:50 +0000 (15:53 +0000)
commit7be075335dca4f9b2a325a39b9a5a363ea7c6327
tree4f4b4d6684e171184d4712aa7b58c86f02928a90
parentbdf509aaaf82457f0cd618fe7b0fea3620b2a40a
Re-enable Visual Studio Builds.

I tried to compile with Visual Studio using CMake and found these two sections of code
causing problems for Visual Studio.  The first one removes the use of variable length
arrays by instead using KMP_ALLOCA().  The second part eliminates a redundant cpuid
assembly call by using the already existing __kmp_x86_cpuid() call instead.

llvm-svn: 240290
openmp/runtime/src/kmp_affinity.cpp
openmp/runtime/src/kmp_runtime.c