[llvm] r292941 - [X86][AVX512] Remove unused argument from PMOVX tablegen patterns. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 08:16:30 PST 2017


Author: rksimon
Date: Tue Jan 24 10:16:29 2017
New Revision: 292941

URL: http://llvm.org/viewvc/llvm-project?rev=292941&view=rev
Log:
[X86][AVX512] Remove unused argument from PMOVX tablegen patterns. NFCI.

Seems to be a copy+paste legacy from the AVX2 patterns.

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=292941&r1=292940&r2=292941&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrAVX512.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrAVX512.td Tue Jan 24 10:16:29 2017
@@ -7564,7 +7564,7 @@ let Predicates = [HasAVX512] in {
   defm : avx512_ext_lowering<"DQZ",    v8i64_info,   v8i32x_info,  extloadvi32>;
 }
 
-multiclass AVX512_pmovx_patterns<string OpcPrefix, string ExtTy,
+multiclass AVX512_pmovx_patterns<string OpcPrefix,
                                  SDNode ExtOp, PatFrag ExtLoad16> {
   // 128-bit patterns
   let Predicates = [HasVLX, HasBWI] in {
@@ -7705,8 +7705,8 @@ multiclass AVX512_pmovx_patterns<string
   }
 }
 
-defm : AVX512_pmovx_patterns<"VPMOVSX", "s", X86vsext, extloadi32i16>;
-defm : AVX512_pmovx_patterns<"VPMOVZX", "z", X86vzext, loadi16_anyext>;
+defm : AVX512_pmovx_patterns<"VPMOVSX", X86vsext, extloadi32i16>;
+defm : AVX512_pmovx_patterns<"VPMOVZX", X86vzext, loadi16_anyext>;
 
 //===----------------------------------------------------------------------===//
 // GATHER - SCATTER Operations




More information about the llvm-commits mailing list