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