[PATCH] D29874: [X86] Generate VZEROUPPER for Skylake-avx512
Michael Kuperstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 14 00:01:52 PST 2017
mkuper added inline comments.
================
Comment at: lib/Target/X86/X86VZeroUpper.cpp:111
+ return (Reg >= X86::YMM0 && Reg <= X86::YMM15) ||
+ (Reg >= X86::ZMM0 && Reg <= X86::ZMM15);
}
----------------
Drive by comment - is this relevant for Y/ZMM16-31? If not, then this should be explicitly documented, since these are obviously YmmOrZmmRegs.
https://reviews.llvm.org/D29874
More information about the llvm-commits
mailing list