[llvm] r271986 - [AVX512] Add NoVLX to a couple patterns that have VLX equivalents. Ordering of the patterns in the .td file protects this, but its better to be explicit.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 00:27:52 PDT 2016


Author: ctopper
Date: Tue Jun  7 02:27:51 2016
New Revision: 271986

URL: http://llvm.org/viewvc/llvm-project?rev=271986&view=rev
Log:
[AVX512] Add NoVLX to a couple patterns that have VLX equivalents. Ordering of the patterns in the .td file protects this, but its better to be explicit.

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=271986&r1=271985&r2=271986&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrAVX512.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrAVX512.td Tue Jun  7 02:27:51 2016
@@ -1329,7 +1329,7 @@ defm VPBLENDMB : blendmask_bw <0x66, "vp
 defm VPBLENDMW : blendmask_bw <0x66, "vpblendmw", avx512vl_i16_info>, VEX_W;
 
 
-let Predicates = [HasAVX512] in {
+let Predicates = [HasAVX512, NoVLX] in {
 def : Pat<(v8f32 (vselect (v8i1 VK8WM:$mask), (v8f32 VR256X:$src1),
                             (v8f32 VR256X:$src2))),
             (EXTRACT_SUBREG




More information about the llvm-commits mailing list