[X86] Remove what little support we had for MPX
authorCraig Topper <craig.topper@intel.com>
Thu, 29 Aug 2019 18:09:02 +0000 (18:09 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 29 Aug 2019 18:09:02 +0000 (18:09 +0000)
commit5a43fdd3139640116fc18d82cb1b6d2788def156
treec684171e093f6ca34306a690b53bb1e525d01e72
parent093ebf927569a7d79991716cc786aa2c9250d012
[X86] Remove what little support we had for MPX

-Deprecate -mmpx and -mno-mpx command line options
-Remove CPUID detection of mpx for -march=native
-Remove MPX from all CPUs
-Remove MPX preprocessor define

I've left the "mpx" string in the backend so we don't fail on old IR, but its not connected to anything.

gcc has also deprecated these command line options. https://www.phoronix.com/scan.php?page=news_item&px=GCC-Patch-To-Drop-MPX

Differential Revision: https://reviews.llvm.org/D66669

llvm-svn: 370393
14 files changed:
clang/docs/ReleaseNotes.rst
clang/include/clang/Driver/Options.td
clang/lib/Basic/Targets/X86.cpp
clang/lib/Basic/Targets/X86.h
clang/test/Driver/x86-target-features.c
clang/test/Preprocessor/predefined-arch-macros.c
llvm/docs/ReleaseNotes.rst
llvm/lib/Support/Host.cpp
llvm/lib/Target/X86/X86.td
llvm/lib/Target/X86/X86InstrInfo.td
llvm/lib/Target/X86/X86InstrMPX.td
llvm/lib/Target/X86/X86Subtarget.h
llvm/test/CodeGen/X86/ms-inline-asm-avx512.ll
llvm/test/CodeGen/X86/vector-width-store-merge.ll