[llvm] r321613 - [X86] Add missing NoVLX predicate around some patterns that use zmm registers to implement 128/256-bit operations without VLX.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 31 17:11:32 PST 2017
Author: ctopper
Date: Sun Dec 31 17:11:32 2017
New Revision: 321613
URL: http://llvm.org/viewvc/llvm-project?rev=321613&view=rev
Log:
[X86] Add missing NoVLX predicate around some patterns that use zmm registers to implement 128/256-bit operations without VLX.
Modified:
llvm/trunk/lib/Target/X86/X86InstrAVX512.td
Modified: llvm/trunk/lib/Target/X86/X86InstrAVX512.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrAVX512.td?rev=321613&r1=321612&r2=321613&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrAVX512.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrAVX512.td Sun Dec 31 17:11:32 2017
@@ -4561,7 +4561,7 @@ multiclass avx512_min_max_lowering<Instr
sub_xmm)>;
}
-let Predicates = [HasAVX512] in {
+let Predicates = [HasAVX512, NoVLX] in {
defm : avx512_min_max_lowering<VPMAXUQZrr, umax>;
defm : avx512_min_max_lowering<VPMINUQZrr, umin>;
defm : avx512_min_max_lowering<VPMAXSQZrr, smax>;
More information about the llvm-commits
mailing list