[NFC]Refactor MultiVersion Resolver Emission to combine types
authorErich Keane <erich.keane@intel.com>
Thu, 13 Sep 2018 16:58:24 +0000 (16:58 +0000)
committerErich Keane <erich.keane@intel.com>
Thu, 13 Sep 2018 16:58:24 +0000 (16:58 +0000)
commitf353ae184877a2d78aaa1f63646709de54fa0e76
treed27ea973776c05a4098098a9ccd2627a056ce62d
parente6aa4694de2d11fdc3e352a29b1491740bfcb5e5
[NFC]Refactor MultiVersion Resolver Emission to combine types

Previously, both types (plus the future target-clones) of
multiversioning had a separate ResolverOption structure and emission
function.  This patch combines the two, at the expense of a slightly
more expensive sorting function.

llvm-svn: 342152
clang/include/clang/Basic/Attr.td
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/CodeGen/CodeGenModule.cpp