diff options
author | Craig Topper <craig.topper@intel.com> | 2019-11-04 10:20:00 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-11-04 11:03:54 -0800 |
commit | b2b6a54f847f33f821f41e3e82bf3b86e08817a0 (patch) | |
tree | 2f8236709521bf9e38b891250003e0a43b73864c /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 6ff439b57f0fc2b1a2193ae37637c531ff652b1c (diff) | |
download | bcm5719-llvm-b2b6a54f847f33f821f41e3e82bf3b86e08817a0.tar.gz bcm5719-llvm-b2b6a54f847f33f821f41e3e82bf3b86e08817a0.zip |
[X86] Add support for -mvzeroupper and -mno-vzeroupper to match gcc
-mvzeroupper will force the vzeroupper insertion pass to run on
CPUs that normally wouldn't. -mno-vzeroupper disables it on CPUs
where it normally runs.
To support this with the default feature handling in clang, we
need a vzeroupper feature flag in X86.td. Since this flag has
the opposite polarity of the fast-partial-ymm-or-zmm-write we
used to use to disable the pass, we now need to add this new
flag to every CPU except KNL/KNM and BTVER2 to keep identical
behavior.
Remove -fast-partial-ymm-or-zmm-write which is no longer used.
Differential Revision: https://reviews.llvm.org/D69786
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions