[llvm] r312310 - [X86] Add a couple TODOs to the PMADD52 instrucions about missing commuting opportunities.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 00:58:14 PDT 2017


Author: ctopper
Date: Fri Sep  1 00:58:13 2017
New Revision: 312310

URL: http://llvm.org/viewvc/llvm-project?rev=312310&view=rev
Log:
[X86] Add a couple TODOs to the PMADD52 instrucions about missing commuting opportunities.

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=312310&r1=312309&r2=312310&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrAVX512.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrAVX512.td Fri Sep  1 00:58:13 2017
@@ -6808,6 +6808,9 @@ multiclass avx512_pmadd52_rm<bits<8> opc
              _.RC:$src2,(_.VT (X86VBroadcast (_.ScalarLdFrag addr:$src3))))>,
             AVX512FMA3Base, EVEX_B;
   }
+
+  // TODO: Should be able to match a memory op in operand 2.
+  // TODO: These instructions should be marked Commutable on operand 2 and 3.
 }
 } // Constraints = "$src1 = $dst"
 




More information about the llvm-commits mailing list