[X86] Mark XOP vpmac* and vpmadc intrinsics as being commutative so that tablegen...
authorCraig Topper <craig.topper@intel.com>
Tue, 20 Feb 2018 03:58:14 +0000 (03:58 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 20 Feb 2018 03:58:14 +0000 (03:58 +0000)
commit41f64c3204e90b8d82ea06804f954e6624635ae1
treeb893d6f9d9cd666dc6e4a8fbb3b7b1fd99d84858
parenta05ed17316f326315587d09e3a782e215d686a23
[X86] Mark XOP vpmac* and vpmadc intrinsics as being commutative so that tablegen will generate patterns with the load in operand 0.

This allows loads to be folded during isel without the peephole pass.

llvm-svn: 325548
llvm/include/llvm/IR/IntrinsicsX86.td
llvm/test/CodeGen/X86/commute-xop.ll