diff options
author | Craig Topper <craig.topper@intel.com> | 2020-06-11 21:14:45 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2020-06-11 21:14:46 -0700 |
commit | 0ce9bf6eed4a630f2b2735a7226c2d5bf2c7c57a (patch) | |
tree | 717d8860c07a1daa88616b614aa04c5e7ba749e5 /llvm/lib/Object/TapiFile.cpp | |
parent | 999307323a456d5da958b4e2dd72874451487482 (diff) | |
download | llvm-0ce9bf6eed4a630f2b2735a7226c2d5bf2c7c57a.zip llvm-0ce9bf6eed4a630f2b2735a7226c2d5bf2c7c57a.tar.gz llvm-0ce9bf6eed4a630f2b2735a7226c2d5bf2c7c57a.tar.bz2 |
[X86] Add a helper lambda to getIntelProcessorTypeAndSubtype to select feature bits from the correct 32-bit feature variable.
We have three 32 bit variables containing feature bits. But our
enum is a flat 96 bit space. So we need to pick which of the
variables to use based on the bit value. We used to do this
manually by mentioning the correct variable and subtracting an
offset from the enum. But this is error prone.
Diffstat (limited to 'llvm/lib/Object/TapiFile.cpp')
0 files changed, 0 insertions, 0 deletions