summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-07-17 05:16:16 +0000
committerCraig Topper <craig.topper@intel.com>2017-07-17 05:16:16 +0000
commit828cf302ecf0610347da724fd6d4f4df14c9d086 (patch)
tree010d00e83fecf1f43b7e5eccd56cb052ce687cb7 /llvm/lib/Transforms/Vectorize
parent5869ba8792005b7c3e91b765da333b746db7faed (diff)
downloadbcm5719-llvm-828cf302ecf0610347da724fd6d4f4df14c9d086.tar.gz
bcm5719-llvm-828cf302ecf0610347da724fd6d4f4df14c9d086.zip
[X86] Use MSVC's __cpuidex intrinsic instead of inline assembly in getHostCPUName/getHostCPUFeatures for 32-bit builds too.
We're already using it in 64-bit builds because 64-bit MSVC doesn't support inline assembly. As far as I know we were using inline assembly because at the time the code was added we had to support MSVC 2008 pre-SP1 while the intrinsic was added to MSVC in SP1. Now that we don't have to support that we should be able to just use the intrinsic. llvm-svn: 308163
Diffstat (limited to 'llvm/lib/Transforms/Vectorize')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud