[X86] Remove encoding value from the X86_FEATURE and X86_FEATURE_COMPAT macro. NFCI
authorCraig Topper <craig.topper@intel.com>
Mon, 22 Jun 2020 03:20:04 +0000 (20:20 -0700)
committerCraig Topper <craig.topper@intel.com>
Mon, 22 Jun 2020 18:46:21 +0000 (11:46 -0700)
commit0dfc8e1837e3e3ac06ab8c08fdc08b15e0ae1c2d
tree096e3cff0c6fc77e40d29bd250b3924e4a90f605
parent5ac144fe64c6911b5b6011cac1d61e0f82562e7f
[X86] Remove encoding value from the X86_FEATURE and X86_FEATURE_COMPAT macro. NFCI

This was orignally done so we could separate the compatibility
values and the llvm internal only features into a separate entries
in the feature array. This was needed when we explicitly had to
convert the feature into the proper 32-bit chunk at every reference
and we didn't want things moving around.

Now everything is in an array and we have helper funtions or macros
to convert encoding to index. So we renumbering is no longer an
issue.
clang/lib/Basic/Targets/X86.cpp
clang/lib/CodeGen/CGBuiltin.cpp
llvm/include/llvm/Support/X86TargetParser.def
llvm/include/llvm/Support/X86TargetParser.h