[X86] Make XSAVEC/XSAVEOPT/XSAVES properly depend on XSAVE in both the frontend and...
authorCraig Topper <craig.topper@intel.com>
Fri, 26 Jun 2020 07:14:58 +0000 (00:14 -0700)
committerCraig Topper <craig.topper@intel.com>
Fri, 26 Jun 2020 07:14:58 +0000 (00:14 -0700)
commit12665f28129a7aefc635dc36d6fe0ad26583dd8a
tree453d99026f861c7ba000bd8cca4b0bb8d103f175
parent7a834a0a4ee36726df989702c44711a0ef13ec25
[X86] Make XSAVEC/XSAVEOPT/XSAVES properly depend on XSAVE in both the frontend and the backend.

These features implicitly enabled XSAVE in the frontend, but not
the backend. Disabling XSAVE in the frontend disabled XSAVEOPT, but
not the other 2. Nothing happened in the backend.
clang/lib/Basic/Targets/X86.cpp
clang/test/Preprocessor/x86_target_features.c
llvm/lib/Target/X86/X86.td