[X86] Make IFMA instructions during isel so we can fold broadcast loads.
authorCraig Topper <craig.topper@intel.com>
Sun, 24 Sep 2017 19:30:55 +0000 (19:30 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 24 Sep 2017 19:30:55 +0000 (19:30 +0000)
commit47e14ead54d229aa8ac5436594e91bfb8943230e
treeaf3e6fd7ea023e76bb0aaa5498a51874ffb92047
parent4ffd90c50444d98784f65698f54d386d27289c90
[X86] Make IFMA instructions during isel so we can fold broadcast loads.

This required changing the ISD opcode for these instructions to have the commutable operands first and the addend last. This way tablegen can autogenerate the additional patterns for us.

llvm-svn: 314083
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
llvm/lib/Target/X86/X86IntrinsicsInfo.h
llvm/test/CodeGen/X86/avx512ifma-intrinsics.ll