summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-09-01 07:58:13 +0000
committerCraig Topper <craig.topper@intel.com>2017-09-01 07:58:13 +0000
commit32ddaffd7bd12999b681443adcfc781043f72e98 (patch)
tree033f9e4712fbac9d81ed3fadd5e7c80bb361b2c0 /llvm/lib
parent70e581cdd69ce5300b3151068f7571ac5f3c9f2b (diff)
downloadbcm5719-llvm-32ddaffd7bd12999b681443adcfc781043f72e98.tar.gz
bcm5719-llvm-32ddaffd7bd12999b681443adcfc781043f72e98.zip
[X86] Add a couple TODOs to the PMADD52 instrucions about missing commuting opportunities.
llvm-svn: 312310
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86InstrAVX512.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstrAVX512.td b/llvm/lib/Target/X86/X86InstrAVX512.td
index bb5c12d70d0..5f9658dfaed 100644
--- a/llvm/lib/Target/X86/X86InstrAVX512.td
+++ b/llvm/lib/Target/X86/X86InstrAVX512.td
@@ -6808,6 +6808,9 @@ multiclass avx512_pmadd52_rm<bits<8> opc, string OpcodeStr, SDNode OpNode,
_.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"
OpenPOWER on IntegriCloud